Skip to content

Commit cb977b2

Browse files
committed
Changes based on reviewer comments.
1 parent 13d1802 commit cb977b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dll/win32/shell32/shlexec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ static UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpVerb,
803803
}
804804

805805
/* Clear any trailing periods */
806-
for (INT i = wcslen(xlpFile); i >= 0; i--)
806+
for (SIZE_T i = wcslen(xlpFile);i > 0; i--)
807807
{
808808
if (i > 0 && xlpFile[i - 1] == '.')
809809
xlpFile[i - 1] = 0;

0 commit comments

Comments
 (0)