mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 09:06:16 +00:00
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))
|
if(!lstrcmpiW(pFiles[i], newFile))
|
||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
for(j = 0; pFiles[j] && j < i; j++)
|
for(j = 0; j < i; j++)
|
||||||
{
|
{
|
||||||
pFiles[i-j] = pFiles[i-j-1];
|
pFiles[i-j] = pFiles[i-j-1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue