summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index 43cacb2..3bf58f6 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1000,7 +1000,7 @@ process_csi_seq(void)
break;
#if defined (ENABLE_DISPLAY_ANSWER)
case 7:
- tt_printf((unsigned char *) "%s\n", display_name);
+ tt_write((unsigned char *) display_name, strlen(display_name));
break;
#endif
case 8:
@@ -1532,7 +1532,7 @@ set_colorfgbg(void)
int fg = -1, bg = -1;
if (!colorfgbg_env) {
- colorfgbg_env = (char *) malloc(30);
+ colorfgbg_env = (char *) MALLOC(30);
strcpy(colorfgbg_env, "COLORFGBG=default;default;bg");
}
for (i = BlackColor; i <= WhiteColor; i++) {