From 0df9480d2da35608323acc595fb5b05fc356de15 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Fri, 24 Jun 2016 07:56:29 +0000 Subject: [PATCH] regedit: Import multiple files in one command. Signed-off-by: Hugh McMaster Signed-off-by: Alexandre Julliard --- programs/regedit/regedit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/regedit/regedit.c b/programs/regedit/regedit.c index 20a66bae244..f57f427c00c 100644 --- a/programs/regedit/regedit.c +++ b/programs/regedit/regedit.c @@ -262,7 +262,8 @@ BOOL ProcessCmdLine(LPSTR lpCmdLine) exit(1); } - PerformRegAction(action, argv, &i); + for (; i < argc; i++) + PerformRegAction(action, argv, &i); for (i = 0; i < argc; i++) HeapFree(GetProcessHeap(), 0, argv[i]);