[USP10]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 19 May 2012 15:08:23 +0000 (15:08 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 19 May 2012 15:08:23 +0000 (15:08 +0000)
* Sync to Wine 1.5.4.

svn path=/trunk/; revision=56637

reactos/dll/win32/usp10/usp10.c
reactos/media/doc/README.WINE

index db1573e..5d8da0a 100644 (file)
@@ -492,7 +492,7 @@ const scriptData scriptInformation[] = {
     {{Script_Myanmar, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
      {0x55, 0, 1, 1, 1, DEFAULT_CHARSET, 0, 0, 0, 0, 1, 0, 0, 0, 0},
      MS_MAKE_TAG('m','y','m','r'),
-     {0}},
+     {'M','y','a','n','m','a','r',' ','T','e','x','t',0}},
     {{Script_Myanmar_Numeric, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
      {0x55, 1, 1, 0, 0, DEFAULT_CHARSET, 0, 0, 0, 0, 0, 0, 0, 0, 0},
      MS_MAKE_TAG('m','y','m','r'),
@@ -2665,7 +2665,8 @@ HRESULT WINAPI ScriptBreak(const WCHAR *chars, int count, const SCRIPT_ANALYSIS
 {
     TRACE("(%s, %d, %p, %p)\n", debugstr_wn(chars, count), count, sa, la);
 
-    if (!la) return S_FALSE;
+    if (count < 0 || !la) return E_INVALIDARG;
+    if (count == 0) return E_FAIL;
 
     BREAK_line(chars, count, sa, la);
 
index 2b369a1..fcac37c 100644 (file)
@@ -168,7 +168,7 @@ reactos/dll/win32/twain_32        # Out of sync
 reactos/dll/win32/updspapi        # Synced to Wine-1.3.37
 reactos/dll/win32/url             # Synced to Wine-1.5.4
 reactos/dll/win32/urlmon          # Autosync
-reactos/dll/win32/usp10           # Synced to Wine-1.4
+reactos/dll/win32/usp10           # Synced to Wine-1.5.4
 reactos/dll/win32/uxtheme         # Forked
 reactos/dll/win32/version         # Autosync
 reactos/dll/win32/wer             # Autosync