Skip to content

Commit 3876af4

Browse files
bgerrityzooba
authored andcommitted
bpo-34565: Change a PC/launcher.c comment to accurately describe valid major versions. (GH-9037)
1 parent 266f490 commit 3876af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PC/launcher.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ static BOOL
10511051
validate_version(wchar_t * p)
10521052
{
10531053
/*
1054-
Version information should start with one of 2 or 3,
1054+
Version information should start with the major version,
10551055
Optionally followed by a period and a minor version,
10561056
Optionally followed by a minus and one of 32 or 64.
10571057
Valid examples:
@@ -1068,7 +1068,7 @@ validate_version(wchar_t * p)
10681068
*/
10691069
BOOL result = (p != NULL); /* Default to False if null pointer. */
10701070

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

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

0 commit comments

Comments
 (0)