summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/slbt_exec_ctx.c')
-rw-r--r--src/logic/slbt_exec_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index e4145bc..754ea4b 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -192,13 +192,13 @@ int slbt_get_exec_ctx(
if (ref && (dctx->cctx->mode == SLBT_MODE_COMPILE)) {
if ((ch[-4] == '.') && (ch[-3] == 'l') && (ch[-2] == 'o')) {
ch[-3] = 'o';
- ch[-2] = '\0';
+ ch[-2] = 0;
ch--;
} else if (ictx->ctx.csrc) {
if ((mark = strrchr(ictx->ctx.lbasename,'.'))) {
ch = mark;
*++ch = 'o';
- *++ch = '\0';
+ *++ch = 0;
ch++;
}
}
@@ -212,7 +212,7 @@ int slbt_get_exec_ctx(
for (; *ch; ch++)
if (*ch == ',') {
- *ch++ = '\0';
+ *ch++ = 0;
ictx->ctx.argv[i++] = ch;
}
} else {