aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
@@ -413,7 +413,7 @@ 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.