diff options
Diffstat (limited to 'sway/stringop.c')
-rw-r--r-- | sway/stringop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/stringop.c b/sway/stringop.c index 54faf74c..191e40c8 100644 --- a/sway/stringop.c +++ b/sway/stringop.c @@ -258,7 +258,7 @@ int unescape_string(char *string) { return len - shift; } -char *join_args(int argc, char **argv) { +char *join_args(char **argv, int argc) { int len = 0, i; for (i = 0; i < argc; ++i) { len += strlen(argv[i]) + 1; |