Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rschupp committed Jan 31, 2024
1 parent a9d97ee commit 77c7638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions myldr/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ typedef BOOL (WINAPI *pALLOW)(DWORD);

#ifdef WIN32
{
LPWSTR **w_argv;
LPWSTR *w_argv;
char **utf8_argv;
int i, len;

Expand All @@ -233,7 +233,7 @@ typedef BOOL (WINAPI *pALLOW)(DWORD);
if (utf8_argv == NULL)
par_die("%s: failed to allocate UTF-8 command line", argv[0]);

for (int = 0; i < argc; i++) {
for (i = 0; i < argc; i++) {
len = WideCharToMultiByte(CP_UTF8, 0, w_argv[i], -1, NULL, 0, NULL, NULL);
if (len == 0)
par_die("%s: failed to convert UTF-16 argv[%i]", argv[0], i);
Expand Down

0 comments on commit 77c7638

Please sign in to comment.