diff options
-rw-r--r-- | content/fetchers/about.c | 4 | ||||
-rw-r--r-- | desktop/options.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c index f0d7c9e77..f514b1c5c 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -321,7 +321,7 @@ static bool fetch_about_config_handler(struct fetch_about_context *ctx) while (post_item != NULL) { if (strcmp(post_item->name, "token") == 0 - && sctrcmp(post_item->value, token) == 0) { + && strcmp(post_item->value, token) == 0) { valid_token = true; if (do_save == true) { break; @@ -329,7 +329,7 @@ static bool fetch_about_config_handler(struct fetch_about_context *ctx) } if (strcmp(post_item->name, "action") == 0 - && sctrcmp(post_item->value, "Save") == 0) { + && strcmp(post_item->value, "Save") == 0) { do_save = true; if (valid_token == true) { break; diff --git a/desktop/options.c b/desktop/options.c index eec3f7dc7..4bdac6d24 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -317,7 +317,7 @@ nsoption_output_value_html_input(struct option_entry_s *option, "<input type=\"text\" name=\"%s\" value=\"%06x\"/> " "<span style=\"background-color: #%06x; color: #%06x; \">" " </span>", - option->, rgbcolour, + option->key, rgbcolour, rgbcolour, (~rgbcolour) & 0xffffff); break; |