Skip to content

Commit f448359

Browse files
committed
Take @HBelusca's suggestion.
1 parent 433518e commit f448359

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
@@ -798,7 +798,7 @@ static UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpVerb,
798798
/* Clear any trailing periods */
799799
for (SIZE_T i = wcslen(xlpFile); i > 0; i--)
800800
{
801-
if (i > 0 && xlpFile[i - 1] == '.')
801+
if (xlpFile[i - 1] == '.')
802802
xlpFile[i - 1] = '\0';
803803
else
804804
break;

0 commit comments

Comments
 (0)