diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2013-12-17 23:43:29 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2013-12-17 23:43:29 +0200 |
commit | 57a00b140954a2c22ba2fdebc93e8e6eda41b2a3 (patch) | |
tree | acd100103525ce5dc67e1a4f8e8b92221002cc2c /src | |
parent | e49108f9be4ffe6242abc8af13b1dc6b3853c9bf (diff) | |
download | grecs-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.c | 2 |
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; |