regedit: Import multiple files in one command.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2016-06-24 07:56:29 +00:00 committed by Alexandre Julliard
parent 1df0b0f986
commit 0df9480d2d
1 changed files with 2 additions and 1 deletions

View File

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