Remove useless if in tstrsequence.
parent
b0310fba5d
commit
e6dd0f825d
28
st.c
28
st.c
|
@ -2444,21 +2444,19 @@ 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';
|
break;
|
||||||
break;
|
case 0x9f: /* APC -- Application Program Command */
|
||||||
case 0x9f: /* APC -- Application Program Command */
|
c = '_';
|
||||||
c = '_';
|
break;
|
||||||
break;
|
case 0x9e: /* PM -- Privacy Message */
|
||||||
case 0x9e: /* PM -- Privacy Message */
|
c = '^';
|
||||||
c = '^';
|
break;
|
||||||
break;
|
case 0x9d: /* OSC -- Operating System Command */
|
||||||
case 0x9d: /* OSC -- Operating System Command */
|
c = ']';
|
||||||
c = ']';
|
break;
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
strreset();
|
strreset();
|
||||||
strescseq.type = c;
|
strescseq.type = c;
|
||||||
|
|
Loading…
Reference in New Issue