Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PC/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ static BOOL
validate_version(wchar_t * p)
{
/*
Version information should start with one of 2 or 3,
Version information should start with the major version,
Optionally followed by a period and a minor version,
Optionally followed by a minus and one of 32 or 64.
Valid examples:
Expand All @@ -1068,7 +1068,7 @@ validate_version(wchar_t * p)
*/
BOOL result = (p != NULL); /* Default to False if null pointer. */

result = result && iswdigit(*p); /* Result = False if fist string element is not a digit. */
result = result && iswdigit(*p); /* Result = False if first string element is not a digit. */

while (result && iswdigit(*p)) /* Require a major version */
++p; /* Skip all leading digit(s) */
Expand Down