summaryrefslogtreecommitdiff
path: root/src/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/bar.c b/src/bar.c
index 22dcc92..ef72a87 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -335,18 +335,11 @@ draw_partial_string (rp_screen *s, char *msg, int line_no, int start, int end, i
static void
draw_string (rp_screen *s, char *msg, int mark_start, int mark_end)
{
- XGCValues lgv;
- GC lgc;
- unsigned long mask;
size_t i;
int line_no;
int start;
int style = STYLE_NORMAL, update = 0;
- lgv.foreground = s->fg_color;
- mask = GCForeground;
- lgc = XCreateGC(dpy, s->root, mask, &lgv);
-
/* Walk through the string, print each line. */
start = 0;
line_no = 0;