diff options
author | rubidium <rubidium@openttd.org> | 2008-08-12 11:21:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-12 11:21:37 +0000 |
commit | a3910ced70d574d4730268a4df6c5411cad7a04a (patch) | |
tree | 024887c52fa7c5dc7f02ebb32f985825026c9912 /src/network | |
parent | 61007078b6bea4bd0f5f1b51492a6ac5fd07f68e (diff) | |
download | openttd-a3910ced70d574d4730268a4df6c5411cad7a04a.tar.xz |
(svn r14051) -Codechange: enumify the DrawString buffer length.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_chat_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index 2d4289ffb..40e328e6b 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -26,6 +26,8 @@ #include "table/strings.h" +assert_compile((int)DRAW_STRING_BUFFER >= (int)NETWORK_CHAT_LENGTH); + enum { MAX_CHAT_MESSAGES = 10, }; |