From 4be06410d03bcbcde5707e317c321a482cb32214 Mon Sep 17 00:00:00 2001 From: Shawn Date: Sat, 24 May 2008 23:43:12 -0700 Subject: fix whitespace errors in xft patch --- src/actions.c | 4 ++-- src/input.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/actions.c b/src/actions.c index 2b54ad2..c1bf5d4 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1730,8 +1730,8 @@ read_frame (struct argspec *spec, struct sbuf *s, struct cmdarg **arg) XClearWindow (dpy, wins[i]); /* Display the frame's number inside the window. */ - rp_draw_string (s, wins[i], s->normal_gc, - defaults.bar_x_padding, + rp_draw_string (s, wins[i], s->normal_gc, + defaults.bar_x_padding, defaults.bar_y_padding + FONT_ASCENT(s), num, -1); diff --git a/src/input.c b/src/input.c index 94d09dd..ec29fbf 100644 --- a/src/input.c +++ b/src/input.c @@ -446,8 +446,8 @@ update_input_window (rp_screen *s, rp_input_line *line) XClearWindow (dpy, s->input_window); XSync (dpy, False); - rp_draw_string (s, s->input_window, s->normal_gc, - defaults.bar_x_padding, + rp_draw_string (s, s->input_window, s->normal_gc, + defaults.bar_x_padding, defaults.bar_y_padding + FONT_ASCENT(s), line->prompt, -1); -- cgit v1.2.3