1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/games/d2x/files/patch-console.c
Kirill Ponomarev 6010217c3a Add d2x 0.2.5, port of Descent 2 Game.
PR:		ports/65257
Submitted by:	Radim Kolar
2004-04-08 08:29:23 +00:00

12 lines
321 B
C

--- main/console.c.orig Fri Jun 6 23:59:49 2003
+++ main/console.c Tue Apr 6 14:45:18 2004
@@ -70,7 +70,7 @@
va_list arglist;
char buffer[2048];
- if (priority <= ((int)con_threshold.value))
+ if (priority <= ((int)con_threshold.value) && fmt)
{
va_start (arglist, fmt);
vsprintf (buffer, fmt, arglist);