summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 58131b0..3b52e75 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -190,8 +190,8 @@ int slbt_get_exec_ctx(
for (; *ch; ch++)
if (*ch == ',') {
- *ch = '\0';
- ictx->ctx.argv[i++] = ch+1;
+ *ch++ = '\0';
+ ictx->ctx.argv[i++] = ch;
}
} else {
ictx->ctx.argv[i++] = ch;