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:
Thomas Faber 2016-06-26 10:59:08 +02:00 committed by Alexandre Julliard
parent 0c79028e97
commit f07a25467f
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}