git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003091401
[reactos.git]
/
subsys
/
system
/
cmd
/
screen.c
diff --git
a/subsys/system/cmd/screen.c
b/subsys/system/cmd/screen.c
index
c27671a
..
0e8c082
100644
(file)
--- a/
subsys/system/cmd/screen.c
+++ b/
subsys/system/cmd/screen.c
@@
-13,8
+13,8
@@
#ifdef INCLUDE_CMD_SCREEN
#ifdef INCLUDE_CMD_SCREEN
-#include <tchar.h>
#include <windows.h>
#include <windows.h>
+#include <tchar.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdlib.h>
#include <ctype.h>
@@
-48,10
+48,10
@@
INT CommandScreen (LPTSTR cmd, LPTSTR param)
return 1;
}
return 1;
}
- y =
a
toi(param);
+ y =
_t
toi(param);
if (y<0 || y>(maxy-1))
{
if (y<0 || y>(maxy-1))
{
- ConOutPrintf(
"invalid value for row"
);
+ ConOutPrintf(
_T("invalid value for row")
);
return 1;
}
return 1;
}
@@
-71,7
+71,7
@@
INT CommandScreen (LPTSTR cmd, LPTSTR param)
return 1;
}
return 1;
}
- x =
a
toi(param);
+ x =
_t
toi(param);
if (x<0 || x>(maxx-1))
{
ConErrPuts(_T("invalid value for col"));
if (x<0 || x>(maxx-1))
{
ConErrPuts(_T("invalid value for col"));