Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29974/src
Modified Files:
lispreader.cpp
Log Message:
Fixed the translating of the shown text files.
Index: lispreader.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/lispreader.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- lispreader.cpp 7 Jul 2004 19:19:19 -0000 1.27
+++ lispreader.cpp 7 Jul 2004 22:47:06 -0000 1.28
@@ -44,7 +44,7 @@
#define TOKEN_FALSE 10
-#define MAX_TOKEN_LENGTH 1024
+#define MAX_TOKEN_LENGTH 4096
static char token_string[MAX_TOKEN_LENGTH + 1] = "";
static int token_length = 0;
@@ -1208,7 +1208,7 @@
bool
LispReader::read_string (const char* name, std::string& str)
{
- char str_[1204];
+ char str_[1024];
sprintf(str_, "%s-%s", name, getenv("LANG"));
lisp_object_t* obj = search_for (str_);
|