summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-01 12:24:36 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-01 12:24:36 -0300
commit262a5fa99b1a807050bcaf592a533b30107af6be (patch)
tree10aaa6225a1cd37f3e767174df3e5fe56473763c
parente7514d7c60a0f54f0c79695ccdf8fb6a6e871332 (diff)
keyword: Replace `*delm`, with `*tmp` in `parse_keyword_value_file()`
This was a mistake that I didn't even notice until now, lol.
-rw-r--r--keyword.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyword.c b/keyword.c
index 8127440..2afe455 100644
--- a/keyword.c
+++ b/keyword.c
@@ -109,7 +109,7 @@ int parse_key_value_file(void *ret, void *ctx, const keyword **keywords, char *b
/* Does the right hand side start with a double, or single quote? */
if (*tmp == '\"' || *tmp == '\'') {
- const char *delm = (*delm == '\"') ? "\"" : "\'";
+ const char *delm = (*tmp == '\"') ? "\"" : "\'";
/* Get the string in between the start, and end qoute. */
rhs = get_str_delm_range(tmp, delm, delm, &buf);
} else {