if (timestamps.integer)
snprintf(final, sizeof(final), "%s%s", Sys_TimeString(timeformat.string), msg);
else
- strncpy(final, msg, sizeof(final));
+ strlcpy (final, msg, sizeof (final));
// LordHavoc: make sure the string is terminated
final[MAXPRINTMSG-1] = 0;
Sys_Print(msg);
}
+void Sys_Quit (void)
+{
+ Host_Shutdown();
+ exit(0);
+}
char engineversion[128];