remove whitespace from end of lines
[reactos.git] / reactos / subsys / system / cmd / title.c
1 /*
2 * title.c - title internal command.
3 *
4 *
5 * History:
6 * 1999-02-11 Emanuele Aliberti
7 *
8 * 30-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
9 * Remove all hardcode string to En.rc
10 */
11
12 #include "precomp.h"
13 #include "resource.h"
14
15 #ifdef INCLUDE_CMD_TITLE
16
17
18 INT cmd_title (LPTSTR cmd, LPTSTR param)
19 {
20
21 /* Do nothing if no args */
22 if (*param == _T('\0'))
23 return 0;
24
25 /* Asking help? */
26 if (!_tcsncmp(param, _T("/?"), 2))
27 {
28 ConOutResPuts(STRING_TITLE_HELP);
29 return 0;
30 }
31
32 return SetConsoleTitle (param);
33 }
34
35 #endif /* def INCLUDE_CMD_TITLE */
36
37 /* EOF */