Hi all,

again some patches for vim's code style. This time only for c files.

Greetings Elias


-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r f530aef0d959 src/os_amiga.c
--- a/src/os_amiga.c	Wed Oct 12 22:02:14 2011 +0200
+++ b/src/os_amiga.c	Wed Oct 19 10:27:31 2011 +0200
@@ -1022,7 +1022,7 @@
 
     /* 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 -r f530aef0d959 src/os_mac_conv.c
--- a/src/os_mac_conv.c	Wed Oct 12 22:02:14 2011 +0200
+++ b/src/os_mac_conv.c	Wed Oct 19 10:27:31 2011 +0200
@@ -77,7 +77,7 @@
 	*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 -r f530aef0d959 src/os_win16.c
--- a/src/os_win16.c	Wed Oct 12 22:02:14 2011 +0200
+++ b/src/os_win16.c	Wed Oct 19 10:27:31 2011 +0200
@@ -243,9 +243,9 @@
 	/* 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);

Raspunde prin e-mail lui