mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:52:57 +00:00
[CMD] Use _T() rather than L to initialise TCHARS.
This commit is contained in:
parent
d7e71357dc
commit
8b72fce3e1
3 changed files with 3 additions and 3 deletions
|
@ -1424,7 +1424,7 @@ ReadLine(TCHAR *commandline, BOOL bMore)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (readline[0] == L'\0')
|
if (readline[0] == _T('\0'))
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -455,7 +455,7 @@ BOOL ReadCommand(LPTSTR str, INT maxlen)
|
||||||
{
|
{
|
||||||
/* A CTRL-C. Don't clear the the command line,
|
/* A CTRL-C. Don't clear the the command line,
|
||||||
* but return an empty string in str. */
|
* but return an empty string in str. */
|
||||||
str[0] = L'\0';
|
str[0] = _T('\0');
|
||||||
curx = orgx;
|
curx = orgx;
|
||||||
cury = orgy;
|
cury = orgy;
|
||||||
current = charcount = 0;
|
current = charcount = 0;
|
||||||
|
|
|
@ -70,7 +70,7 @@ INT cmd_start (LPTSTR Rest)
|
||||||
lpTitle = GetParameter(&Rest);
|
lpTitle = GetParameter(&Rest);
|
||||||
StripQuotes(lpTitle);
|
StripQuotes(lpTitle);
|
||||||
}
|
}
|
||||||
else if (*Rest == L'/')
|
else if (*Rest == _T('/'))
|
||||||
{
|
{
|
||||||
LPTSTR option;
|
LPTSTR option;
|
||||||
Rest++;
|
Rest++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue