]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.342 v7.3.342
authorBram Moolenaar <Bram@vim.org>
Thu, 20 Oct 2011 16:24:22 +0000 (18:24 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 20 Oct 2011 16:24:22 +0000 (18:24 +0200)
Problem:    Code not in Vim style.
Solution:   Fix the style. (Elias Diem)

src/os_amiga.c
src/os_mac_conv.c
src/os_win16.c
src/version.c

index 3c96e64fd60cdc6545b3f35d663f5c45232f25cf..d84af4ce16bf033bafcc53eecff7bbd5e8a20d98 100644 (file)
@@ -1022,7 +1022,7 @@ mch_get_shellsize()
 
     /* insure longword alignment */
 #ifdef __amigaos4__
-    if(!(id = AllocDosObject(DOS_INFODATA, 0)))
+    if (!(id = AllocDosObject(DOS_INFODATA, 0)))
        goto out;
 #else
     id = (struct InfoData *)(((long)id_a + 3L) & ~3L);
index 71960daa5d2f246586b43b186e3f1fa9dec7d14c..2c4038ef1b7c2959b5e5099bf61a055d84bee7b2 100644 (file)
@@ -77,7 +77,7 @@ mac_string_convert(ptr, len, lenp, fail_on_error, from_enc, to_enc, unconvlenp)
        *unconvlenp = 0;
     cfstr = CFStringCreateWithBytes(NULL, ptr, len, from, 0);
 
-    if(cfstr == NULL)
+    if (cfstr == NULL)
        fprintf(stderr, "Encoding failed\n");
     /* When conversion failed, try excluding bytes from the end, helps when
      * there is an incomplete byte sequence.  Only do up to 6 bytes to avoid
index c4d9cfc88a51bcbefd2c330f3c7ec68670d79ff5..0be6c6316a33fd1549bae5f227f1bda98d6bb8c3 100644 (file)
@@ -243,9 +243,9 @@ mch_system(char *cmd, int options)
        /* Wait for the command to terminate before continuing */
        while (GetModuleUsage((HINSTANCE)h_module) > 0 && again )
        {
-           while( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) && again )
+           while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) && again)
            {
-               if(msg.message == WM_QUIT)
+               if (msg.message == WM_QUIT)
 
                {
                    PostQuitMessage(msg.wParam);
index 3c4dc11c436bbafe72cf710064963f1fc9830e92..260378d672ae714258d384c10b045395d486c9cd 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    342,
 /**/
     341,
 /**/