wordpad: Remove superfluous check in registry_set_filelist.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0c79028e97
commit
f07a25467f
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue