aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/degesch.c b/degesch.c
index 0533401..e41bfad 100644
--- a/degesch.c
+++ b/degesch.c
@@ -905,7 +905,7 @@ enum formatter_item_type
FORMATTER_ITEM_ATTR, ///< Formatting attributes
FORMATTER_ITEM_FG_COLOR, ///< Foreground color
FORMATTER_ITEM_BG_COLOR, ///< Background color
- FORMATTER_ITEM_SIMPLE, ///< For mIRC formatting only so far
+ FORMATTER_ITEM_SIMPLE, ///< Toggle mIRC formatting
FORMATTER_ITEM_IGNORE_ATTR ///< Un/set attribute ignoration
};
@@ -2707,7 +2707,7 @@ formatter_flush_attr
state->want_background = -1;
return true;
case FORMATTER_ITEM_SIMPLE:
- state->want |= item->attribute;
+ state->want ^= item->attribute;
attribute_printer_update (state);
return true;
case FORMATTER_ITEM_FG_COLOR:
@@ -9579,17 +9579,17 @@ static const char *g_first_time_help[] =
"",
"\x02Welcome to degesch!",
"",
- "To get a list of all commands, type \x02/help\x0f. To obtain",
+ "To get a list of all commands, type \x02/help\x02. To obtain",
"more information on a command or option, simply add it as",
- "a parameter, e.g. \x02/help set\x0f or \x02/help behaviour.logging\x0f.",
+ "a parameter, e.g. \x02/help set\x02 or \x02/help behaviour.logging\x02.",
"",
"To switch between buffers, press \x02"
- "F5/Ctrl-P\x0f or \x02" "F6/Ctrl-N\x0f.",
+ "F5/Ctrl-P\x02 or \x02" "F6/Ctrl-N\x02.",
"",
"Finally, adding a network is as simple as:",
- " - \x02/server add freenode\x0f",
- " - \x02/set servers.freenode.addresses = \"chat.freenode.net\"\x0f",
- " - \x02/connect freenode\x0f",
+ " - \x02/server add freenode\x02",
+ " - \x02/set servers.freenode.addresses = \"chat.freenode.net\"\x02",
+ " - \x02/connect freenode\x02",
"",
"That should be enough to get you started. Have fun!",
""