aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-03-10 16:48:19 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-03-10 16:48:19 +0000
commit8d13ae9bb3fd906c409b469a0903a21a2bc20c32 (patch)
treef6d5c9b76c899fea762950ea17196daf68f627ad
parent2bac4f00ed028c8a3f33e4a06c55a88da5019e11 (diff)
downloaddzen-8d13ae9bb3fd906c409b469a0903a21a2bc20c32.tar.gz
dzen-8d13ae9bb3fd906c409b469a0903a21a2bc20c32.zip
replaced %s by %c in get_sens_area()
git-svn-id: http://dzen.googlecode.com/svn/trunk@256 f2baff5b-bf2c-0410-a398-912abdc3d8b2
-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;
}