add a missing '\n', remove some unwanted ones
From /dev/humancontroller.
This commit is contained in:
parent
c3ca5c1caa
commit
a4c61d874d
7 changed files with 8 additions and 8 deletions
|
@ -1442,12 +1442,12 @@ void CG_LoadMenus(const char *menuFile) {
|
|||
Com_Printf( S_COLOR_YELLOW "menu file not found: %s, using default\n", menuFile );
|
||||
len = trap_FS_FOpenFile( "ui/hud.txt", &f, FS_READ );
|
||||
if (!f) {
|
||||
trap_Error( va( S_COLOR_RED "default menu file not found: ui/hud.txt, unable to continue!\n") );
|
||||
trap_Error( va( S_COLOR_RED "default menu file not found: ui/hud.txt, unable to continue!" ) );
|
||||
}
|
||||
}
|
||||
|
||||
if ( len >= MAX_MENUDEFFILE ) {
|
||||
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i\n", menuFile, len, MAX_MENUDEFFILE ) );
|
||||
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i", menuFile, len, MAX_MENUDEFFILE ) );
|
||||
trap_FS_FCloseFile( f );
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue