aboutsummaryrefslogtreecommitdiffstats
path: root/sway/stringop.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-09-13 19:46:16 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-09-13 19:46:16 -0400
commite505abfe75923d06098f6230e5a7ba39c091d3ce (patch)
treefc90bdf0afed21d725f6ee7a9245e397e1577517 /sway/stringop.c
parentMerge pull request #179 from taiyu-len/master (diff)
downloadsway-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.c2
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
261char *join_args(int argc, char **argv) { 261char *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;