aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-10-09 21:58:16 +0200
committerSebastian Geerken <devnull@localhost>2013-10-09 21:58:16 +0200
commit3db296631dfd8101066847cd552422da0c26f02f (patch)
treecfffa5fcc027a5fe2e60932db7df3b3f60303472 /test
parentc49ced3a29f1f2f318d9fcd873abc3ffeff30e54 (diff)
Some cleanup.
Diffstat (limited to 'test')
-rw-r--r--test/dw_image_background.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/dw_image_background.cc b/test/dw_image_background.cc
index 391d6fe1..ad50924d 100644
--- a/test/dw_image_background.cc
+++ b/test/dw_image_background.cc
@@ -124,6 +124,8 @@ int main(int argc, char **argv)
StyleAttrs styleAttrs;
styleAttrs.initValues ();
styleAttrs.margin.setVal (5);
+ styleAttrs.x_lang[0] = 'e';
+ styleAttrs.x_lang[1] = 'n';
FontAttrs fontAttrs;
fontAttrs.name = "Bitstream Charter";
@@ -158,7 +160,7 @@ int main(int argc, char **argv)
styleAttrs.backgroundPositionY = createPerLength (0);
Style *wordStyleBg = Style::create (&styleAttrs);
- for(int i = 1; i <= 10; i++) {
+ for(int i = 1; i <= 1; i++) {
char buf[4];
sprintf(buf, "%d.", i);
@@ -168,7 +170,7 @@ int main(int argc, char **argv)
NULL };
for(int j = 0; words[j]; j++) {
- textblock->addText(words[j], j == 3 ? wordStyleBg : wordStyle);
+ textblock->addText(words[j], j == 11 ? wordStyleBg : wordStyle);
textblock->addSpace(wordStyle);
}