Skip to content

Commit

Permalink
updated for version 7.3.571
Browse files Browse the repository at this point in the history
Problem:    Duplicated condition.
Solution:   Remove one. (Dominique Pelle)
  • Loading branch information
brammool committed Jun 29, 2012
1 parent 0b79d6e commit 2f4214c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/os_win32.c
Expand Up @@ -308,7 +308,7 @@ vimLoadLib(char *name)
# ifndef GETTEXT_DLL
# define GETTEXT_DLL "libintl.dll"
# endif
/* Dummy funcitons */
/* Dummy functions */
static char *null_libintl_gettext(const char *);
static char *null_libintl_textdomain(const char *);
static char *null_libintl_bindtextdomain(const char *, const char *);
Expand Down Expand Up @@ -1409,7 +1409,7 @@ tgetch(int *pmodifiers, char_u *pch2)


/*
* mch_inchar(): low-level input funcion.
* mch_inchar(): low-level input function.
* Get one or more characters from the keyboard or the mouse.
* If time == 0, do not wait for characters.
* If time == n, wait a short time for characters.
Expand Down Expand Up @@ -3451,14 +3451,14 @@ dump_pipe(int options,
* to avoid to perform a blocking read */
ret = PeekNamedPipe(g_hChildStd_OUT_Rd, /* pipe to query */
NULL, /* optional buffer */
0, /* buffe size */
0, /* buffer size */
NULL, /* number of read bytes */
&availableBytes, /* available bytes total */
NULL); /* byteLeft */

repeatCount = 0;
/* We got real data in the pipe, read it */
while (ret != 0 && availableBytes > 0 && availableBytes > 0)
while (ret != 0 && availableBytes > 0)
{
repeatCount++;
toRead =
Expand Down Expand Up @@ -3638,7 +3638,7 @@ mch_system_piped(char *cmd, int options)
NULL, /* Process security attributes */
NULL, /* Thread security attributes */

// this command can be litigeous, handle inheritence was
// this command can be litigious, handle inheritance was
// deactivated for pending temp file, but, if we deactivate
// it, the pipes don't work for some reason.
TRUE, /* Inherit handles, first deactivated,
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -714,6 +714,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
571,
/**/
570,
/**/
Expand Down

0 comments on commit 2f4214c

Please sign in to comment.