All pastes #613059 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-10 19:54 UTC
rendered paste body
Index: src/game/q_shared.c
===================================================================
--- src/game/q_shared.c (Revision 9642)
+++ src/game/q_shared.c (Arbeitskopie)
@@ -2074,7 +2074,11 @@
                Com_Printf("Q_vsnprintf: string was truncated - target buffer too small\n");
 #endif
 #else
+#ifdef __sun
+       len = vsprintf(str, format, ap);
+#else
        len = vsnprintf(str, size, format, ap);
+#endif
 #ifdef DEBUG
        if ((size_t)len >= size)
                Com_Printf("Q_vsnprintf: string was truncated - target buffer too small\n");