summaryrefslogtreecommitdiff
path: root/test/dw_links2.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-09-20 02:47:53 +0000
committercorvid <corvid@lavabit.com>2009-09-20 02:47:53 +0000
commitda3f5268045b5edff01b53f475a56cb0795c7bb1 (patch)
treedfef39b21438155350b5f755893fe5878a15b1cc /test/dw_links2.cc
parent6a1945e459f5c4ecd0ec89b6501e0daf10f77b41 (diff)
trim some spaces
Diffstat (limited to 'test/dw_links2.cc')
-rw-r--r--test/dw_links2.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dw_links2.cc b/test/dw_links2.cc
index 4205a768..7aede1c8 100644
--- a/test/dw_links2.cc
+++ b/test/dw_links2.cc
@@ -143,7 +143,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 <= 30; i++) {
char buf[4];
sprintf(buf, "%d.", i);
@@ -160,15 +160,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);