mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:21:38 +00:00
- In cmd, add ConOutResPrintf and ConErrResPrintf functions for printf-ing from a resource string; use it to shorten several instances of LoadString+Con*Printf.
- Also change FilePromptYN and FilePromptYNA to take a resource ID. Remove varargs code which nobody used (and didn't actually work anyway) svn path=/trunk/; revision=34816
This commit is contained in:
parent
33ab9a11a5
commit
198d88a60b
27 changed files with 127 additions and 234 deletions
|
@ -124,8 +124,7 @@ INT cmd_goto (LPTSTR cmd, LPTSTR param)
|
|||
|
||||
}
|
||||
|
||||
LoadString(CMD_ModuleHandle, STRING_GOTO_ERROR2, szMsg, RC_STRING_MAX_SIZE);
|
||||
ConErrPrintf(szMsg, param);
|
||||
ConErrResPrintf(STRING_GOTO_ERROR2, param);
|
||||
ExitBatch(NULL);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue