[WINESYNC] reg: Allow /reg:32 and /reg:64 switches to be passed via the command line.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44755
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 2b900e1c38d9bed0901ea036488e896e6df0cbe9 by Hugh McMaster <hugh.mcmaster@outlook.com>

manual adjustment needed
This commit is contained in:
winesync 2022-01-16 21:06:06 +01:00 committed by Thomas Csovcsity
parent 9cf114d789
commit b6bc8e1371
9 changed files with 32 additions and 5 deletions

View file

@ -347,6 +347,8 @@ int reg_query(int argc, WCHAR *argvW[])
value_empty = TRUE;
continue;
}
else if (!lstrcmpiW(str, L"reg:32") || !lstrcmpiW(str, L"reg:64"))
continue;
else if (!str[0] || str[1])
goto invalid;