Skip to content

Commit f65dafa

Browse files
committed
Fixed build with wide chars
1 parent 9f99d02 commit f65dafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hb-uniscribe.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ struct hb_uniscribe_shaper_funcs_t {
203203
this->ScriptShapeOpenType = NULL;
204204
this->ScriptPlaceOpenType = NULL;
205205

206-
hinstLib = GetModuleHandle("usp10.dll");
206+
hinstLib = GetModuleHandle(TEXT("usp10.dll"));
207207
if (hinstLib)
208208
{
209209
this->ScriptItemizeOpenType = (SIOT) GetProcAddress (hinstLib, "ScriptItemizeOpenType");

0 commit comments

Comments
 (0)