Commit 5c97509f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use cached ACP

parent 6d0efe5f
...@@ -215,7 +215,7 @@ const char *GetFallbackEncoding( void ) ...@@ -215,7 +215,7 @@ const char *GetFallbackEncoding( void )
strcpy (buf, "ISO-8859-8"); strcpy (buf, "ISO-8859-8");
break; break;
default: default:
snprintf (buf, sizeof (buf), "CP%u", GetACP ()); snprintf (buf, sizeof (buf), "CP%u", cp);
} }
} }
return buf; return buf;
......
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