diff options
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 9c6c14b..27d7583 100644 --- a/src/input.c +++ b/src/input.c @@ -295,9 +295,9 @@ update_input_window (screen_info *s, char *prompt, char *input, int input_len) /* Draw a cheap-o cursor. */ XDrawLine (dpy, s->input_window, s->normal_gc, - defaults.bar_x_padding * 2 + prompt_width + input_width + 2, + defaults.bar_x_padding + prompt_width + input_width + 2, defaults.bar_y_padding + 1, - defaults.bar_x_padding * 2 + prompt_width + input_width + 2, + defaults.bar_x_padding + prompt_width + input_width + 2, defaults.bar_y_padding + FONT_HEIGHT (defaults.font) - 1); } |