summaryrefslogtreecommitdiff
path: root/textscreen/txt_separator.c
diff options
context:
space:
mode:
authorSimon Howard2006-06-20 18:48:21 +0000
committerSimon Howard2006-06-20 18:48:21 +0000
commitcef6abcea6218c9638ba67edca9755f7d3fa359f (patch)
treedbf0a32d8864397d78bf3723151ed2508b5542ef /textscreen/txt_separator.c
parent87cbe9dbbe6a0921f89e08d79b87fad7aec37cd8 (diff)
downloadchocolate-doom-cef6abcea6218c9638ba67edca9755f7d3fa359f.tar.gz
chocolate-doom-cef6abcea6218c9638ba67edca9755f7d3fa359f.tar.bz2
chocolate-doom-cef6abcea6218c9638ba67edca9755f7d3fa359f.zip
Always add a bit of padding inside windows (removes the need to add padding
explicitly in labels). Set the window title from the desktop title. Only draw widget selection highlight in the window with focus (top window). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 560
Diffstat (limited to 'textscreen/txt_separator.c')
-rw-r--r--textscreen/txt_separator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/textscreen/txt_separator.c b/textscreen/txt_separator.c
index 1cba708e..48fa8f02 100644
--- a/textscreen/txt_separator.c
+++ b/textscreen/txt_separator.c
@@ -39,7 +39,7 @@ static void TXT_SeparatorDrawer(TXT_UNCAST_ARG(separator), int selected)
// Draw separator. Go back one character and draw two extra
// to overlap the window borders.
- TXT_DrawSeparator(x-1, y, w + 2);
+ TXT_DrawSeparator(x-2, y, w + 4);
if (separator->label != NULL)
{