cmd: Fix test failures for SET /P command.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
Eric Pouech 2024-07-29 11:32:22 +02:00 committed by Alexandre Julliard
parent 7846c20619
commit c63cc782ab
Notes: Alexandre Julliard 2024-07-29 23:18:18 +02:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/-/merge_requests/6170
2 changed files with 1 additions and 2 deletions

View file

@ -3185,7 +3185,6 @@ RETURN_CODE WCMD_setshow_env(WCHAR *s)
/* Output the prompt */
*p++ = '\0';
if (*p) {
p = WCMD_strtrim(p);
if (*p == L'"') {
WCHAR* last = wcsrchr(p+1, L'"');
p++;

View file

@ -709,7 +709,7 @@ I'm here!@space@
prompt XbarX
prompt YfooY
'prompt' YfooY
@todo_wine@promptYfooY
promptYfooY
------------ Testing 'choice' ------------
Example message [A,B,C]?A@or_broken@choice unavailable
1@or_broken@9009