summaryrefslogtreecommitdiff
path: root/textscreen/txt_separator.c
diff options
context:
space:
mode:
authorSimon Howard2006-05-20 15:45:36 +0000
committerSimon Howard2006-05-20 15:45:36 +0000
commit1ba69c88d26b33fbec2af21172bb52ad214b0f2a (patch)
treeaa298f6d80f4cf05283ed16cd486f2ed05fa88a1 /textscreen/txt_separator.c
parentf761f821f95a3fbf8af1eb645d8ae9412abdc541 (diff)
downloadchocolate-doom-1ba69c88d26b33fbec2af21172bb52ad214b0f2a.tar.gz
chocolate-doom-1ba69c88d26b33fbec2af21172bb52ad214b0f2a.tar.bz2
chocolate-doom-1ba69c88d26b33fbec2af21172bb52ad214b0f2a.zip
Clip windows against the workspace boundaries.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 487
Diffstat (limited to 'textscreen/txt_separator.c')
-rw-r--r--textscreen/txt_separator.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/textscreen/txt_separator.c b/textscreen/txt_separator.c
index f378a126..b430f831 100644
--- a/textscreen/txt_separator.c
+++ b/textscreen/txt_separator.c
@@ -42,14 +42,9 @@ static void TXT_SeparatorDrawer(txt_widget_t *widget, int w, int selected)
TXT_BGColor(TXT_COLOR_BLUE, 0);
TXT_FGColor(TXT_COLOR_BRIGHT_GREEN);
- TXT_PutChar(' ');
-
- for (i=0; i<strlen(separator->label); ++i)
- {
- TXT_PutChar(separator->label[i]);
- }
-
- TXT_PutChar(' ');
+ TXT_DrawString(" ");
+ TXT_DrawString(separator->label);
+ TXT_DrawString(" ");
}
}