Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com --- programs/reg/add.c | 2 +- programs/reg/reg.rc | 2 +- programs/reg/resource.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/reg/add.c b/programs/reg/add.c index 0236dfb4742..fb0ee2a03fd 100644 --- a/programs/reg/add.c +++ b/programs/reg/add.c @@ -76,7 +76,7 @@ static BOOL get_regdata(const WCHAR *data, DWORD reg_type, WCHAR separator, unsigned long val; val = wcstoul(data, &rest, (towlower(data[1]) == 'x') ? 16 : 10); if (*rest || data[0] == '-' || (val == ~0u && errno == ERANGE)) { - output_message(STRING_MISSING_INTEGER); + output_message(STRING_MISSING_NUMBER); return FALSE; } *size_bytes = sizeof(DWORD); diff --git a/programs/reg/reg.rc b/programs/reg/reg.rc index c0d75f55b6c..117365547ca 100644 --- a/programs/reg/reg.rc +++ b/programs/reg/reg.rc @@ -118,7 +118,7 @@ STRINGTABLE STRING_NO_REMOTE, "reg: Unable to access remote machine\n" STRING_VALUE_NONEXIST, "reg: Unable to find the specified registry value\n" STRING_UNSUPPORTED_TYPE, "reg: Unsupported registry data type [%1]\n" - STRING_MISSING_INTEGER, "reg: The option [/d] must be followed by a valid integer\n" + STRING_MISSING_NUMBER, "reg: The option [/d] must be followed by a valid numeric value\n" STRING_MISSING_HEXDATA, "reg: The option [/d] must be followed by a valid hexadecimal value\n" STRING_UNHANDLED_TYPE, "reg: Unhandled registry data type [/t 0x%1!x!, /d %2]\n" STRING_OVERWRITE_VALUE, "The registry value '%1' already exists. Do you want to overwrite it?" diff --git a/programs/reg/resource.h b/programs/reg/resource.h index b569eb41d3d..ecc4c09337c 100644 --- a/programs/reg/resource.h +++ b/programs/reg/resource.h @@ -31,7 +31,7 @@ #define STRING_NO_REMOTE 108 #define STRING_VALUE_NONEXIST 109 #define STRING_UNSUPPORTED_TYPE 110 -#define STRING_MISSING_INTEGER 111 +#define STRING_MISSING_NUMBER 111 #define STRING_MISSING_HEXDATA 112 #define STRING_UNHANDLED_TYPE 113 #define STRING_OVERWRITE_VALUE 114