Remove useless if in tstrsequence.
parent
b0310fba5d
commit
e6dd0f825d
2
st.c
2
st.c
|
@ -2444,7 +2444,6 @@ tdectest(char c) {
|
||||||
|
|
||||||
void
|
void
|
||||||
tstrsequence(uchar c) {
|
tstrsequence(uchar c) {
|
||||||
if (c & 0x80) {
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 0x90: /* DCS -- Device Control String */
|
case 0x90: /* DCS -- Device Control String */
|
||||||
c = 'P';
|
c = 'P';
|
||||||
|
@ -2459,7 +2458,6 @@ tstrsequence(uchar c) {
|
||||||
c = ']';
|
c = ']';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
strreset();
|
strreset();
|
||||||
strescseq.type = c;
|
strescseq.type = c;
|
||||||
term.esc |= ESC_STR;
|
term.esc |= ESC_STR;
|
||||||
|
|
Loading…
Reference in New Issue