summaryrefslogtreecommitdiffstats
path: root/pokemod/String.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2007-06-02 18:12:48 +0000
committerBen Boeckel <MathStuf@gmail.com>2007-06-02 18:12:48 +0000
commitc9afda3ab74614fb36986f96b7972c082f275eca (patch)
tree1b7c0b31950597d6ed562d94158dd3f8701496da /pokemod/String.cpp
parentf71140fae5218ee9839ffcd4ec83abfded5124f4 (diff)
downloadsigen-c9afda3ab74614fb36986f96b7972c082f275eca.tar.gz
sigen-c9afda3ab74614fb36986f96b7972c082f275eca.tar.xz
sigen-c9afda3ab74614fb36986f96b7972c082f275eca.zip
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
Diffstat (limited to 'pokemod/String.cpp')
-rw-r--r--pokemod/String.cpp5
1 files changed, 5 insertions, 0 deletions
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);