[KERNEL32]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 21 Oct 2014 18:25:34 +0000 (18:25 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 21 Oct 2014 18:25:34 +0000 (18:25 +0000)
* Sync format_msg.c with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64872

reactos/dll/win32/kernel32/winnls/string/format_msg.c
reactos/media/doc/README.WINE

index 879e581..adc116e 100644 (file)
@@ -285,7 +285,7 @@ static void format_add_char(struct _format_message_data *fmd, WCHAR c)
             LPWSTR notspace;
             if (fmd->space) {
                 notspace = fmd->space;
-                while (*notspace == ' ' && notspace != fmd->t)
+                while (notspace != fmd->t && *notspace == ' ')
                     notspace++;
             } else
                 notspace = fmd->space = fmd->t;
index 8edeb3a..ec6bf04 100644 (file)
@@ -272,7 +272,7 @@ kernel32 -
   reactos/dll/win32/kernel32/winnls/string/casemap.c     # Synced in r52754
   reactos/dll/win32/kernel32/winnls/string/chartype.c    # Synced in r52754
   reactos/dll/win32/kernel32/winnls/string/collation.c   # Synced in r52754
-  reactos/dll/win32/kernel32/winnls/string/format_msg.c  # Synced to Wine-1.5.4
+  reactos/dll/win32/kernel32/winnls/string/format_msg.c  # Synced to Wine-1.7.27
   reactos/dll/win32/kernel32/winnls/string/lang.c        # Synced in r52754
   reactos/dll/win32/kernel32/winnls/string/lcformat.c    # Synced in r52754
   reactos/dll/win32/kernel32/winnls/string/nls.c         # Synced in r52754