aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw.c b/draw.c
index 4c7b9c3..09970c4 100644
--- a/draw.c
+++ b/draw.c
@@ -217,7 +217,7 @@ setcolor(Drawable *pm, int x, int width, long tfg, long tbg, int reverse, int no
int
get_sens_area(char *s, int *b, char *cmd) {
- sscanf(s, "%5d,%1024s", b, cmd);
+ sscanf(s, "%5d,%1024c", b, cmd);
return 0;
}