1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Code not in Vim style.
12 Solution: Fix the style. (Elias Diem)
13 Files: src/os_amiga.c, src/os_mac_conv.c, src/os_win16.c
16 *** ../vim-7.3.341/src/os_amiga.c 2010-08-15 21:57:27.000000000 +0200
17 --- src/os_amiga.c 2011-10-20 18:19:45.000000000 +0200
21 /* insure longword alignment */
23 ! if(!(id = AllocDosObject(DOS_INFODATA, 0)))
26 id = (struct InfoData *)(((long)id_a + 3L) & ~3L);
29 /* insure longword alignment */
31 ! if (!(id = AllocDosObject(DOS_INFODATA, 0)))
34 id = (struct InfoData *)(((long)id_a + 3L) & ~3L);
35 *** ../vim-7.3.341/src/os_mac_conv.c 2011-06-13 02:03:55.000000000 +0200
36 --- src/os_mac_conv.c 2011-10-20 18:19:45.000000000 +0200
40 cfstr = CFStringCreateWithBytes(NULL, ptr, len, from, 0);
43 fprintf(stderr, "Encoding failed\n");
44 /* When conversion failed, try excluding bytes from the end, helps when
45 * there is an incomplete byte sequence. Only do up to 6 bytes to avoid
48 cfstr = CFStringCreateWithBytes(NULL, ptr, len, from, 0);
51 fprintf(stderr, "Encoding failed\n");
52 /* When conversion failed, try excluding bytes from the end, helps when
53 * there is an incomplete byte sequence. Only do up to 6 bytes to avoid
54 *** ../vim-7.3.341/src/os_win16.c 2010-12-17 20:23:56.000000000 +0100
55 --- src/os_win16.c 2011-10-20 18:19:45.000000000 +0200
58 /* Wait for the command to terminate before continuing */
59 while (GetModuleUsage((HINSTANCE)h_module) > 0 && again )
61 ! while( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) && again )
63 ! if(msg.message == WM_QUIT)
66 PostQuitMessage(msg.wParam);
68 /* Wait for the command to terminate before continuing */
69 while (GetModuleUsage((HINSTANCE)h_module) > 0 && again )
71 ! while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) && again)
73 ! if (msg.message == WM_QUIT)
76 PostQuitMessage(msg.wParam);
77 *** ../vim-7.3.341/src/version.c 2011-10-20 18:17:38.000000000 +0200
78 --- src/version.c 2011-10-20 18:21:43.000000000 +0200
82 { /* Add new patch number below this line */
88 You are only young once, but you can stay immature indefinitely.
90 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
91 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
92 \\\ an exciting new programming language -- http://www.Zimbu.org ///
93 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///