@@ -161,8 +161,8 @@ constexpr size_t guid_string_length = 38;
161161#pragma region String and identifier comparisons
162162// Using CompareStringOrdinal functions:
163163//
164- // Indentifiers require a locale-less (ordinal), and often case-insensitive, comparison (filenames, registry keys, XML node names,
165- // etc). DO NOT use locale-sensitive (lexical) comparisons for resource identifiers (e.g.wcs*() functions in the CRT).
164+ // Identifiers require a locale-less (ordinal), and often case-insensitive, comparison (filenames, registry keys, XML node names,
165+ // etc). DO NOT use locale-sensitive (lexical) comparisons for resource identifiers (e.g. wcs*() functions in the CRT).
166166
167167#if WIL_USE_STL && (__cpp_lib_string_view >= 201606L)
168168// / @cond
@@ -1147,7 +1147,7 @@ inline std::basic_string<CharT> ArgvToCommandLine(RangeT&& range, ArgvToCommandL
11471147 // behavior of CommandLineToArgvW is to just preserve "interior" quotes, so we do that.
11481148 // NOTE: 'CommandLineToArgvW' treats "interior" quotes as terminating quotes when the executable
11491149 // path begins with a quote, even if the next character is not a space. This assert won't catch all
1150- // of such issues as we may detect a space, and therefore the need to surroud the argument with
1150+ // of such issues as we may detect a space, and therefore the need to surround the argument with
11511151 // quotes, later in the string; this is best effort. Such arguments wouldn't be valid and are not
11521152 // representable anyway
11531153 WI_ASSERT ((pos > 0 ) && !WI_IsFlagSet (flags, ArgvToCommandLineFlags::ForceQuotes) && !terminateWithQuotes);
0 commit comments