mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 08:52:59 +08:00
[CMD][BOOTDATA] Minor improvements (#5745)
* Remove a hardcoded copyright string and move into localizable resources. * Remove the PROMPT environment variable from clean installs of ReactOS. By default, the command prompt uses $P$G (path + '>') as its prompt settings and does not require this environment variable. Clean installs of Windows Server 2003 do not include this environment variable either. I documented this environment variable in our wiki if anyone would like to set it on their own ReactOS installs. * Remove the new line above the copyright notice when the information line is turned off. CORE-16193, CORE-17031
This commit is contained in:
committed by
GitHub
parent
57b775ef6e
commit
190b3da95d
@@ -2299,11 +2299,15 @@ Initialize(VOID)
|
||||
if (!*ptr)
|
||||
{
|
||||
/* If neither /C or /K was given, display a simple version string */
|
||||
ConOutChar(_T('\n'));
|
||||
|
||||
/* Insert a new line above the copyright notice if we are drawing the information line. */
|
||||
if (HasInfoLine())
|
||||
ConOutChar('\n');
|
||||
|
||||
ConOutResPrintf(STRING_REACTOS_VERSION,
|
||||
_T(KERNEL_VERSION_STR),
|
||||
_T(KERNEL_VERSION_BUILD_STR));
|
||||
ConOutPuts(_T("(C) Copyright 1998-") _T(COPYRIGHT_YEAR) _T(" ReactOS Team.\n"));
|
||||
ConOutResPrintf(STRING_CMD_COPYRIGHT, _T(COPYRIGHT_YEAR));
|
||||
}
|
||||
|
||||
if (AutoRun)
|
||||
|
||||
Reference in New Issue
Block a user