forked from aniani/vim
updated for version 7.3.342
Problem: Code not in Vim style. Solution: Fix the style. (Elias Diem)
This commit is contained in:
parent
667b4d2db9
commit
62dbdc4a5a
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -709,6 +709,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
342,
|
||||
/**/
|
||||
341,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user