mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
This commit is contained in:
parent
a28e798006
commit
c424146e2c
20602 changed files with 0 additions and 1140137 deletions
36
base/shell/cmd/title.c
Normal file
36
base/shell/cmd/title.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* title.c - title internal command.
|
||||
*
|
||||
*
|
||||
* History:
|
||||
* 1999-02-11 Emanuele Aliberti
|
||||
*
|
||||
* 30-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
|
||||
* Remove all hardcode string to En.rc
|
||||
*/
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
#ifdef INCLUDE_CMD_TITLE
|
||||
|
||||
|
||||
INT cmd_title (LPTSTR param)
|
||||
{
|
||||
|
||||
/* Do nothing if no args */
|
||||
if (*param == _T('\0'))
|
||||
return 0;
|
||||
|
||||
/* Asking help? */
|
||||
if (!_tcsncmp(param, _T("/?"), 2))
|
||||
{
|
||||
ConOutResPaging(TRUE,STRING_TITLE_HELP);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return SetConsoleTitle (param);
|
||||
}
|
||||
|
||||
#endif /* def INCLUDE_CMD_TITLE */
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue