aboutsummaryrefslogtreecommitdiff
path: root/test/dw_links.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_links.cc')
-rw-r--r--test/dw_links.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dw_links.cc b/test/dw_links.cc
index c2384d1e..ada9c49f 100644
--- a/test/dw_links.cc
+++ b/test/dw_links.cc
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
styleAttrs.color = Color::create (layout, 0x0000ff);
styleAttrs.textDecoration = TEXT_DECORATION_UNDERLINE;
styleAttrs.cursor = CURSOR_POINTER;
-
+
for(int i = 1; i <= 10; i++) {
char buf[4];
sprintf(buf, "%d.", i);
@@ -132,15 +132,15 @@ int main(int argc, char **argv)
textblock->addText(words1[j], wordStyle);
textblock->addSpace(wordStyle);
}
-
+
styleAttrs.x_link = i;
Style *linkStyle = Style::create (layout, &styleAttrs);
-
+
for(int j = 0; words2[j]; j++) {
textblock->addText(words2[j], linkStyle);
textblock->addSpace(wordStyle);
}
-
+
linkStyle->unref ();
textblock->addParbreak(10, wordStyle);