mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 13:11:22 +00:00
Update tracert.cpp
Modified several calls to OutputText to utilize updated resource strings
This commit is contained in:
parent
b73a14adc2
commit
079b0b0d55
1 changed files with 4 additions and 4 deletions
|
@ -591,7 +591,7 @@ GetOptionNumberOfHops(
|
|||
// see if we have enough values
|
||||
if ((*i + 1) > (argc - 1))
|
||||
{
|
||||
OutputText(IDS_MISSING_OPTION_VALUE, argv[*i][0], argv[*i][1]);
|
||||
OutputText(IDS_MISSING_OPTION_VALUE, argv[*i]);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -603,7 +603,7 @@ GetOptionNumberOfHops(
|
|||
|| ((NumberOfHops < MIN_HOP_COUNT) || (NumberOfHops > MAX_HOP_COUNT)))
|
||||
{
|
||||
(*i)--;
|
||||
OutputText(IDS_BAD_OPTION_VALUE, argv[*i][0], argv[*i][1]);
|
||||
OutputText(IDS_BAD_OPTION_VALUE, argv[*i]);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -629,7 +629,7 @@ GetOptionTimeout(
|
|||
// see if we have enough values
|
||||
if ((*i + 1) > (argc - 1))
|
||||
{
|
||||
OutputText(IDS_MISSING_OPTION_VALUE, argv[*i][0], argv[*i][1]);
|
||||
OutputText(IDS_MISSING_OPTION_VALUE, argv[*i]);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -642,7 +642,7 @@ GetOptionTimeout(
|
|||
// if we get here then Timeout is less then 1 or somthing other
|
||||
// then a numeric value
|
||||
(*i)--;
|
||||
OutputText(IDS_BAD_OPTION_VALUE, argv[*i][0], argv[*i][1]);
|
||||
OutputText(IDS_BAD_OPTION_VALUE, argv[*i]);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue