1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtterm: Fix title and icon Sun esc seqs

This commit is contained in:
Paul Ward 2024-02-26 11:24:02 +00:00 committed by Jon Trulson
parent ca84b10135
commit 8479874104

View file

@ -2156,7 +2156,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
s = XtMalloc(strlen(icon) + strlen(fmt) + 1);
else
s = buf;
sprintf(s, "%s", fmt);
sprintf(s, fmt, icon);
sendEscSequence(w,s) ;
if (s != buf) XtFree(s);
break ;
@ -2167,7 +2167,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
s = XtMalloc(strlen(title) + strlen(fmt) + 1);
else
s = buf;
sprintf(s, "%s", fmt);
sprintf(s, fmt, title);
sendEscSequence(w,s) ;
if (s != buf) XtFree(s);
break ;