Commit d47c07d0 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

dbghelp: Avoid using isdigit() for WCHARs.

Found with Coccinelle. Signed-off-by: 's avatarAkihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 2b0d9b56
......@@ -461,7 +461,7 @@ enum module_type module_get_type_by_name(const WCHAR* name)
{
int i = len;
while (i && isdigit(name[i - 1])) i--;
while (i && name[i - 1] >= '0' && name[i - 1] <= '9') i--;
if (i && name[i - 1] == '.')
len = i - 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment