git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6649
d7cf8633-e32d-0410-b094-
e92efae38249
if (!strcmp(Cmd_Argv(1), "default.cfg"))
Cbuf_InsertText("\ncvar_lockdefaults\n");
+ // insert newline after the text to make sure the last line is terminated (some text editors omit the trailing newline)
+ // (note: insertion order here is backwards from execution order, so this adds it after the text, by calling it before...)
+ Cbuf_InsertText ("\n");
Cbuf_InsertText (f);
Mem_Free(f);
}