aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-06-29 19:19:20 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-06-29 19:19:20 +0100
commitf2abaf8b308bc25d9c5f26d3ea3818516dd477d9 (patch)
treedd4ed35f00f237ff16b3a361f0c6c2d6faa05e48
parent340b176de6db87471610c0a75450e0de9535b6ae (diff)
decosmetics
-rw-r--r--dinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dinput.c b/dinput.c
index b69dcb3..6b78598 100644
--- a/dinput.c
+++ b/dinput.c
@@ -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);