diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-01 12:24:36 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-01 12:24:36 -0300 |
commit | 262a5fa99b1a807050bcaf592a533b30107af6be (patch) | |
tree | 10aaa6225a1cd37f3e767174df3e5fe56473763c | |
parent | e7514d7c60a0f54f0c79695ccdf8fb6a6e871332 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |