vkd3d: Fix demangling of RT entry points.

Digits are of course also valid identifiers.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2021-08-27 15:12:50 +02:00
parent 235541ace5
commit c672429c70
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ WCHAR *vkd3d_dup_entry_point_n(const char *str, size_t len)
static bool is_valid_identifier_character(char v)
{
return (v >= 'a' && v <= 'z') || (v >= 'A' && v <= 'Z') || v == '_';
return (v >= 'a' && v <= 'z') || (v >= 'A' && v <= 'Z') || v == '_' || (v >= '0' && v <= '9');
}
static const char *vkd3d_manged_entry_point_scan(const char *entry, const char **out_end_entry)