From c9afda3ab74614fb36986f96b7972c082f275eca Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 2 Jun 2007 18:12:48 +0000 Subject: Finished off all PokeMod classes, added move validations, fixed up some GUI, various other fixes git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@18 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/String.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pokemod/String.cpp') diff --git a/pokemod/String.cpp b/pokemod/String.cpp index 5d3761e7..846c0667 100644 --- a/pokemod/String.cpp +++ b/pokemod/String.cpp @@ -98,6 +98,11 @@ void PokeGen::PokeMod::String::printf(const char *fmt, va_list &args) unit.c = (char)va_arg(args, int); append(1, unit.c); break; + // Characters + case 'x': + unit.uc = (unsigned char)va_arg(args, int); + append(1, unit.uc); + break; // Floats case 'f': unit.f = va_arg(args, double); -- cgit