Commit f07a2546 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

wordpad: Remove superfluous check in registry_set_filelist.

parent 0c79028e
......@@ -298,7 +298,7 @@ void registry_set_filelist(LPCWSTR newFile, HWND hMainWnd)
if(!lstrcmpiW(pFiles[i], newFile))
{
int j;
for(j = 0; pFiles[j] && j < i; j++)
for(j = 0; j < i; j++)
{
pFiles[i-j] = pFiles[i-j-1];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment