aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2013-12-17 23:43:29 +0200
committerSergey Poznyakoff <gray@gnu.org>2013-12-17 23:43:29 +0200
commit57a00b140954a2c22ba2fdebc93e8e6eda41b2a3 (patch)
treeacd100103525ce5dc67e1a4f8e8b92221002cc2c /src
parente49108f9be4ffe6242abc8af13b1dc6b3853c9bf (diff)
downloadgrecs-57a00b140954a2c22ba2fdebc93e8e6eda41b2a3.tar.gz
grecs-57a00b140954a2c22ba2fdebc93e8e6eda41b2a3.tar.bz2
One more fix.
* src/opthelp.c (grecs_print_usage): Fix buffer offset
Diffstat (limited to 'src')
-rw-r--r--src/opthelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opthelp.c b/src/opthelp.c
index e4a527a..25d9772 100644
--- a/src/opthelp.c
+++ b/src/opthelp.c
@@ -415,3 +415,3 @@ grecs_print_usage(struct grecs_proginfo *pinfo)
buf[n++] = ' ';
- strcpy(buf, ws.ws_wordv[i]);
+ strcpy(buf + n, ws.ws_wordv[i]);
n += len;

Return to:

Send suggestions and report system problems to the System administrator.