dtterm: Fix title and icon Sun esc seqs
This commit is contained in:
@@ -2156,7 +2156,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
|
|||||||
s = XtMalloc(strlen(icon) + strlen(fmt) + 1);
|
s = XtMalloc(strlen(icon) + strlen(fmt) + 1);
|
||||||
else
|
else
|
||||||
s = buf;
|
s = buf;
|
||||||
sprintf(s, "%s", fmt);
|
sprintf(s, fmt, icon);
|
||||||
sendEscSequence(w,s) ;
|
sendEscSequence(w,s) ;
|
||||||
if (s != buf) XtFree(s);
|
if (s != buf) XtFree(s);
|
||||||
break ;
|
break ;
|
||||||
@@ -2167,7 +2167,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
|
|||||||
s = XtMalloc(strlen(title) + strlen(fmt) + 1);
|
s = XtMalloc(strlen(title) + strlen(fmt) + 1);
|
||||||
else
|
else
|
||||||
s = buf;
|
s = buf;
|
||||||
sprintf(s, "%s", fmt);
|
sprintf(s, fmt, title);
|
||||||
sendEscSequence(w,s) ;
|
sendEscSequence(w,s) ;
|
||||||
if (s != buf) XtFree(s);
|
if (s != buf) XtFree(s);
|
||||||
break ;
|
break ;
|
||||||
|
|||||||
Reference in New Issue
Block a user