[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3134 - trunk/pingus/src/editor
From: |
jsalmon3 |
Subject: |
[Pingus-CVS] r3134 - trunk/pingus/src/editor |
Date: |
Wed, 12 Sep 2007 18:23:49 +0200 |
Author: jsalmon3
Date: 2007-09-12 18:23:41 +0200 (Wed, 12 Sep 2007)
New Revision: 3134
Modified:
trunk/pingus/src/editor/inputbox.cpp
Log:
Fixed warning
Modified: trunk/pingus/src/editor/inputbox.cpp
===================================================================
--- trunk/pingus/src/editor/inputbox.cpp 2007-09-12 03:46:28 UTC (rev
3133)
+++ trunk/pingus/src/editor/inputbox.cpp 2007-09-12 16:23:41 UTC (rev
3134)
@@ -69,8 +69,11 @@
}
else
{ // FIXME: This doesn't handle UTF8 properly
- text += c;
- on_change(text);
+ if (c < 256)
+ {
+ text += (unsigned char)c;
+ on_change(text);
+ }
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3134 - trunk/pingus/src/editor,
jsalmon3 <=