diff options
author | Connor Lane Smith <cls@lubutu.com> | 2010-06-29 19:19:20 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2010-06-29 19:19:20 +0100 |
commit | f2abaf8b308bc25d9c5f26d3ea3818516dd477d9 (patch) | |
tree | dd4ed35f00f237ff16b3a361f0c6c2d6faa05e48 | |
parent | 340b176de6db87471610c0a75450e0de9535b6ae (diff) |
decosmetics
-rw-r--r-- | dinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,11 +76,11 @@ drawinput(void) | |||
76 | /* print prompt? */ | 76 | /* print prompt? */ |
77 | if(prompt) { | 77 | if(prompt) { |
78 | dc.w = promptw; | 78 | dc.w = promptw; |
79 | drawtext(&dc, prompt, normcol, False); | 79 | drawtext(&dc, prompt, selcol, False); |
80 | dc.x += dc.w; | 80 | dc.x += dc.w; |
81 | } | 81 | } |
82 | dc.w = mw - dc.x; | 82 | dc.w = mw - dc.x; |
83 | drawtext(&dc, *text ? text : NULL, selcol, False); | 83 | drawtext(&dc, *text ? text : NULL, normcol, False); |
84 | drawcursor(); | 84 | drawcursor(); |
85 | XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0); | 85 | XCopyArea(dpy, dc.drawable, win, dc.gc, 0, 0, mw, mh, 0, 0); |
86 | XFlush(dpy); | 86 | XFlush(dpy); |