summaryrefslogtreecommitdiff
path: root/sway/stringop.c
diff options
context:
space:
mode:
authortaiyu <[email protected]>2015-09-12 02:38:03 -0700
committertaiyu <[email protected]>2015-09-12 02:38:03 -0700
commite1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983 (patch)
tree8a8ac30c539f4a63bb249b8c5e27e724a4241c9f /sway/stringop.c
parentf5343adae4d631e4cdade7869b4d73fc97b4ac5f (diff)
new_workspace null behavior + testmap functions + regex
Diffstat (limited to 'sway/stringop.c')
-rw-r--r--sway/stringop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/stringop.c b/sway/stringop.c
index 191e40c8..54faf74c 100644
--- a/sway/stringop.c
+++ b/sway/stringop.c
@@ -258,7 +258,7 @@ int unescape_string(char *string) {
return len - shift;
}
-char *join_args(char **argv, int argc) {
+char *join_args(int argc, char **argv) {
int len = 0, i;
for (i = 0; i < argc; ++i) {
len += strlen(argv[i]) + 1;