mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[CMD] SHIFT: Use _istdigit().
This commit is contained in:
parent
00ce3c48fe
commit
95466904db
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ INT cmd_shift (LPTSTR param)
|
||||||
{
|
{
|
||||||
if (*param == _T('/'))
|
if (*param == _T('/'))
|
||||||
{
|
{
|
||||||
if (param[1] < '0' || param[1] > '9')
|
if (!_istdigit(param[1]))
|
||||||
{
|
{
|
||||||
error_invalid_switch(param[1]);
|
error_invalid_switch(param[1]);
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue