summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2005-12-01 13:15:16 +0000
committerpixel <pixel>2005-12-01 13:15:16 +0000
commite87814e9caf9d34cbd402b87d90e5cecdee3de0d (patch)
tree635ed3234af2ec282f44644a500a151c8fe18f01
parentd51d35a379cb3e01ade8410e87147bd71b2dbf9b (diff)
hotfixing a printing bug
-rw-r--r--Dalos/Console.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dalos/Console.cc b/Dalos/Console.cc
index 5e2ffc2..b15c4bf 100644
--- a/Dalos/Console.cc
+++ b/Dalos/Console.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Console.cc,v 1.5 2005-11-05 14:36:11 pixel Exp $ */
+/* $Id: Console.cc,v 1.6 2005-12-01 13:15:16 pixel Exp $ */
#include <SDL.h>
#include <SDL_thread.h>
@@ -294,7 +294,7 @@ void console::draw() {
mogltk::ColorP::Max.A = 255;
mogltk::FixedFont->putcursor(GetAX(), GetAY() + (nlines - 1) * 13);
- mogltk::FixedFont->printf(console_prompt);
+ mogltk::FixedFont->printf("%s", console_prompt.to_charp());
mogltk::FixedFont->printf("%s", rl_line_buffer + start);
}
}