Mercurial > vim
changeset 3143:314d9368069e v7.3.342
updated for version 7.3.342
Problem: Code not in Vim style.
Solution: Fix the style. (Elias Diem)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 20 Oct 2011 18:24:22 +0200 |
parents | aae92defc652 |
children | c6a8fd46517e |
files | src/os_amiga.c src/os_mac_conv.c src/os_win16.c src/version.c |
diffstat | 4 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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
--- 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);