X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=xterm.c;h=5ce9a81e7bc9fb13160802e2ed4a4016e7665eae;hp=1b2d852460a25210cc4370890c2309ea766e30c1;hb=ebad7634114993e2e96fa66fda4b705d05832193;hpb=dc2c2ef1ba4d0a0f3c2552459b9f962594a3536b diff --git a/xterm.c b/xterm.c index 1b2d852..5ce9a81 100644 --- a/xterm.c +++ b/xterm.c @@ -7,14 +7,14 @@ #include "xterm.h" #include "lib/str.h" -void mutt_xterm_set_title (char *title) { +void mutt_xterm_set_title (const char *title) { fputs ("\033]2;", stdout); fputs (NONULL (title), stdout); fputs ("\007", stdout); fflush (stdout); } -void mutt_xterm_set_icon (char *name) { +void mutt_xterm_set_icon (const char *name) { fputs ("\033]1;", stdout); fputs (NONULL (name), stdout); fputs ("\007", stdout);