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:
parent
ca84b10135
commit
8479874104
1 changed files with 2 additions and 2 deletions
|
@ -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 ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue