mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.3.342
Problem: Code not in Vim style. Solution: Fix the style. (Elias Diem)
This commit is contained in:
@@ -1022,7 +1022,7 @@ mch_get_shellsize()
|
|||||||
|
|
||||||
/* insure longword alignment */
|
/* insure longword alignment */
|
||||||
#ifdef __amigaos4__
|
#ifdef __amigaos4__
|
||||||
if(!(id = AllocDosObject(DOS_INFODATA, 0)))
|
if (!(id = AllocDosObject(DOS_INFODATA, 0)))
|
||||||
goto out;
|
goto out;
|
||||||
#else
|
#else
|
||||||
id = (struct InfoData *)(((long)id_a + 3L) & ~3L);
|
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;
|
*unconvlenp = 0;
|
||||||
cfstr = CFStringCreateWithBytes(NULL, ptr, len, from, 0);
|
cfstr = CFStringCreateWithBytes(NULL, ptr, len, from, 0);
|
||||||
|
|
||||||
if(cfstr == NULL)
|
if (cfstr == NULL)
|
||||||
fprintf(stderr, "Encoding failed\n");
|
fprintf(stderr, "Encoding failed\n");
|
||||||
/* When conversion failed, try excluding bytes from the end, helps when
|
/* 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
|
* 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 */
|
/* Wait for the command to terminate before continuing */
|
||||||
while (GetModuleUsage((HINSTANCE)h_module) > 0 && again )
|
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);
|
PostQuitMessage(msg.wParam);
|
||||||
|
@@ -709,6 +709,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
342,
|
||||||
/**/
|
/**/
|
||||||
341,
|
341,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user