Module: wine Branch: master Commit: f07a25467f07e72046e9dc0ccf731e3e0cb52bdb URL: http://source.winehq.org/git/wine.git/?a=commit;h=f07a25467f07e72046e9dc0ccf...
Author: Thomas Faber thomas.faber@reactos.org Date: Sun Jun 26 10:59:08 2016 +0200
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
---
programs/wordpad/registry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/wordpad/registry.c b/programs/wordpad/registry.c index bf2af5b..d53b747 100644 --- a/programs/wordpad/registry.c +++ b/programs/wordpad/registry.c @@ -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]; }