aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/testFont.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/testFont.cc b/src/tests/testFont.cc
index b382594..e5e2377 100644
--- a/src/tests/testFont.cc
+++ b/src/tests/testFont.cc
@@ -27,6 +27,7 @@
27#include "EventManager.hh" 27#include "EventManager.hh"
28#include "GContext.hh" 28#include "GContext.hh"
29#include "Color.hh" 29#include "Color.hh"
30#include "FbString.hh"
30 31
31#include <X11/Xutil.h> 32#include <X11/Xutil.h>
32#include <X11/keysym.h> 33#include <X11/keysym.h>
@@ -180,8 +181,10 @@ int main(int argc, char **argv) {
180 cerr<<"Orientation not valid ("<<orient<<")"<<endl; 181 cerr<<"Orientation not valid ("<<orient<<")"<<endl;
181 orient = FbTk::ROT0; 182 orient = FbTk::ROT0;
182 } 183 }
184 // utf-8 it
185
183 cerr<<"Setting text: "<<text<<endl; 186 cerr<<"Setting text: "<<text<<endl;
184 app.setText(text, orient); 187 app.setText(FbTk::FbStringUtil::XStrToFb(text), orient);
185 188
186 app.redraw(); 189 app.redraw();
187 app.eventLoop(); 190 app.eventLoop();