# HG changeset patch # User Bram Moolenaar # Date 1319127862 -7200 # Node ID 314d9368069ec0458631ca150c202e7f724ad6d3 # Parent aae92defc6527cc01c022fe4df73e277f8e26454 updated for version 7.3.342 Problem: Code not in Vim style. Solution: Fix the style. (Elias Diem) diff --git a/src/os_amiga.c b/src/os_amiga.c --- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -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); diff --git a/src/os_mac_conv.c b/src/os_mac_conv.c --- a/src/os_mac_conv.c +++ b/src/os_mac_conv.c @@ -77,7 +77,7 @@ mac_string_convert(ptr, len, lenp, fail_ *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 diff --git a/src/os_win16.c b/src/os_win16.c --- a/src/os_win16.c +++ b/src/os_win16.c @@ -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); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 342, +/**/ 341, /**/ 340,