"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/mlang/mlang.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

mlang.c  (wine-5.12.tar.xz):mlang.c  (wine-5.13.tar.xz)
skipping to change at line 3562 skipping to change at line 3562
if (!dwFlags) dwFlags = SCRIPTCONTF_PROPORTIONAL_FONT; if (!dwFlags) dwFlags = SCRIPTCONTF_PROPORTIONAL_FONT;
for (i = 0, j = 0; i < ARRAY_SIZE(mlang_data); i++) for (i = 0, j = 0; i < ARRAY_SIZE(mlang_data); i++)
{ {
if (sid == mlang_data[i].sid) if (sid == mlang_data[i].sid)
{ {
if (pScriptFont) if (pScriptFont)
{ {
if (j >= *puiFonts) break; if (j >= *puiFonts) break;
pScriptFont[j].scripts = 1 << mlang_data[i].sid; pScriptFont[j].scripts = (SCRIPT_IDS)1 << mlang_data[i].sid;
if (dwFlags == SCRIPTCONTF_FIXED_FONT) if (dwFlags == SCRIPTCONTF_FIXED_FONT)
{ {
MultiByteToWideChar(CP_ACP, 0, mlang_data[i].fixed_font, -1, MultiByteToWideChar(CP_ACP, 0, mlang_data[i].fixed_font, -1,
pScriptFont[j].wszFont, MAX_MIMEFACE_NAME); pScriptFont[j].wszFont, MAX_MIMEFACE_NAME);
} }
else if (dwFlags == SCRIPTCONTF_PROPORTIONAL_FONT) else if (dwFlags == SCRIPTCONTF_PROPORTIONAL_FONT)
{ {
MultiByteToWideChar(CP_ACP, 0, mlang_data[i].proportional_fo nt, -1, MultiByteToWideChar(CP_ACP, 0, mlang_data[i].proportional_fo nt, -1,
pScriptFont[j].wszFont, MAX_MIMEFACE_NAME); pScriptFont[j].wszFont, MAX_MIMEFACE_NAME);
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)