summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-10-02 21:29:25 +0000
committerTim Angus <tim@ngus.net>2007-10-02 21:29:25 +0000
commitdd0dd03f6f94a15b8764973e4c893526d8cfd722 (patch)
tree4a3989e08a16d58e6b4f9fda7380e20ba05b8a28 /src/qcommon
parente6513f95705560250f00f1ccc0707e01e318192f (diff)
* Merge of ioq3-r1189
+ Fix bug that prevented key up events getting to cgame/ui when not in game + Use Key_[GS]etCatcher everywhere to set keycatcher + Clear all key states when the catcher changes * Slim down client userinfo somewhat * Remove some redundant client autocomplete commands * Actually make use of "menuStack" in the UI module + No longer close all menus when exiting one, instead reverting to the next one on the stack + Cleanup the menu activation functions a little * Truncate text in list columns if it exceeds the column width * Remove maxChars field from columns member of ITEM_TYPE_LISTBOX * Revert r992 due to more general and less buggy/hacky fix from ioq3
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/qcommon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h
index 7e6c40cd..59332068 100644
--- a/src/qcommon/qcommon.h
+++ b/src/qcommon/qcommon.h
@@ -683,10 +683,12 @@ MISC
// vsnprintf is ISO/IEC 9899:1999
// abstracting this to make it portable
-#ifdef WIN32
+#ifdef _WIN32
#define Q_vsnprintf _vsnprintf
+#define Q_snprintf _snprintf
#else
#define Q_vsnprintf vsnprintf
+#define Q_snprintf snprintf
#endif
// returned by Sys_GetProcessorFeatures