summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/util.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-18 23:04:03 +0000
committerKarl Berry <karl@freefriends.org>2022-02-18 23:04:03 +0000
commita81f084f7fddc46b4a38093d83a84edceb92af8f (patch)
tree82ba4d86cc4958d349afa712bf19140ae94a5bd9 /Build/source/texk/xdvik/util.c
parenta9a767323f5a32d8552c16ef6da0af4cec163044 (diff)
-debug fixes, version 22.87.06 from Paul
git-svn-id: svn://tug.org/texlive/trunk@62080 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/util.c')
-rw-r--r--Build/source/texk/xdvik/util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/xdvik/util.c b/Build/source/texk/xdvik/util.c
index 7a7bd687786..07be4a5a949 100644
--- a/Build/source/texk/xdvik/util.c
+++ b/Build/source/texk/xdvik/util.c
@@ -1222,8 +1222,9 @@ parse_debugging_string(const char *arg)
free(tempstr);
}
curr = strchr(curr, ',');
- if (curr != NULL)
- curr++;
+ if (curr == NULL)
+ break;
+ curr++;
}
return retval;