From db356ce99f6a8a7ee0b50655654329ed3964b6dc Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Fri, 21 Dec 2012 17:28:10 +0100 Subject: Set colour style on text input directly (nsoptions_output_html_input) --- desktop/options.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/desktop/options.c b/desktop/options.c index 12468fb84..2c7d40e91 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -314,11 +314,10 @@ nsoption_output_value_html_input(struct option_entry_s *option, ((0x0000FF00 & *((colour *) option->p)) << 0) | ((0x00FF0000 & *((colour *) option->p)) >> 16); slen = snprintf(string + pos, size - pos, - " " - "" - "  ", - option->key, rgbcolour, - rgbcolour, (~rgbcolour) & 0xffffff); + "", + (~rgbcolour) & 0xffffff, rgbcolour, + option->key, rgbcolour); break; case OPTION_STRING: -- cgit v1.2.3