summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-12-21 06:44:39 +0100
committerOle Loots <ole@monochrom.net>2012-12-21 06:44:39 +0100
commit15f8a056d5daca0600fbb11485060ac3337ffebe (patch)
tree1b8243d4258c312ccae29200ce98fa111aeda88b
parentf72305504d83034e0350d9291fdf8f54641ab764 (diff)
downloadnetsurf-15f8a056d5daca0600fbb11485060ac3337ffebe.tar.gz
netsurf-15f8a056d5daca0600fbb11485060ac3337ffebe.tar.bz2
Fixed typo
-rw-r--r--content/fetchers/about.c4
-rw-r--r--desktop/options.c2
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\"/>&nbsp;"
"<span style=\"background-color: #%06x; color: #%06x; \">"
"&nbsp;&nbsp;</span>",
- option->, rgbcolour,
+ option->key, rgbcolour,
rgbcolour, (~rgbcolour) & 0xffffff);
break;