diff options
author | 2015-09-13 19:46:16 -0400 | |
---|---|---|
committer | 2015-09-13 19:46:16 -0400 | |
commit | e505abfe75923d06098f6230e5a7ba39c091d3ce (patch) | |
tree | fc90bdf0afed21d725f6ee7a9245e397e1577517 /sway/stringop.c | |
parent | Merge pull request #179 from taiyu-len/master (diff) | |
download | sway-e505abfe75923d06098f6230e5a7ba39c091d3ce.tar.gz sway-e505abfe75923d06098f6230e5a7ba39c091d3ce.tar.zst sway-e505abfe75923d06098f6230e5a7ba39c091d3ce.zip |
Revert "new_workspace null behavior + testmap functions + regex"
This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983.
Fixes #180
cc @taiyu-len
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) { | |||
258 | return len - shift; | 258 | return len - shift; |
259 | } | 259 | } |
260 | 260 | ||
261 | char *join_args(int argc, char **argv) { | 261 | char *join_args(char **argv, int argc) { |
262 | int len = 0, i; | 262 | int len = 0, i; |
263 | for (i = 0; i < argc; ++i) { | 263 | for (i = 0; i < argc; ++i) { |
264 | len += strlen(argv[i]) + 1; | 264 | len += strlen(argv[i]) + 1; |