Veksler Michael <[EMAIL PROTECTED]> wrote:

>I am trying to add Hebrew support (NLS) to wine . For some reason, even
>when I add the relevant code to wine, winword still emits NLS warnings:

Peter Ganten already pointed out that my last patch regarding FindResource
related functions is wrong. This small patch should help (with my last patch
reversed "FindResource/FindResourceEx fixes: REPOST"):

--- wine/loader/pe_resource.c Mon Jul 31 04:14:22 2000
+++ wine/loader/pe_resource.c Mon Jul 31 04:20:58 2000
@@ -145,7 +145,7 @@
     }
  /* Try LANG_NEUTRAL, too */
     if(!result)
-        return (HANDLE)GetResDirEntryW(resdirptr, (LPCWSTR)0, root, TRUE);
+        return (HANDLE)GetResDirEntryW(resdirptr, (LPCWSTR)0, root, FALSE);
     return result;
}

Dmitry.


Reply via email to