summaryrefslogtreecommitdiff
path: root/src/fe-common/core/formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/formats.c')
-rw-r--r--src/fe-common/core/formats.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c
index e6a1e0ad..4830090a 100644
--- a/src/fe-common/core/formats.c
+++ b/src/fe-common/core/formats.c
@@ -1052,13 +1052,6 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
default:
if (*ptr != FORMAT_COLOR_NOCHANGE) {
fgcolor = (unsigned char) *ptr-'0';
- if (fgcolor <= 7)
- flags &= ~GUI_PRINT_FLAG_BOLD;
- else {
- /* bold */
- if (fgcolor != 8) fgcolor -= 8;
- flags |= GUI_PRINT_FLAG_BOLD;
- }
}
if (ptr[1] == '\0')
break;
@@ -1066,13 +1059,6 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
ptr++;
if (*ptr != FORMAT_COLOR_NOCHANGE) {
bgcolor = *ptr-'0';
- if (bgcolor <= 7)
- flags &= ~GUI_PRINT_FLAG_BLINK;
- else {
- /* blink */
- bgcolor -= 8;
- flags |= GUI_PRINT_FLAG_BLINK;
- }
}
}
ptr++;