diff options
author | noname@inventati.org <noname@inventati.org> | 2015-04-13 14:34:23 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-04-13 15:17:24 +0200 |
commit | e6dd0f825da9bf68c7642f45afd069500879f5e2 (patch) | |
tree | 014fd1840c79711ca2705f05fc5a908bf7d14be4 /st.c | |
parent | b0310fba5de0c519eae0c8a2817ccc7bfcdd5222 (diff) | |
download | st-e6dd0f825da9bf68c7642f45afd069500879f5e2.tar.gz st-e6dd0f825da9bf68c7642f45afd069500879f5e2.tar.bz2 st-e6dd0f825da9bf68c7642f45afd069500879f5e2.zip |
Remove useless if in tstrsequence.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 28 |
1 files changed, 13 insertions, 15 deletions
@@ -2444,21 +2444,19 @@ tdectest(char c) { void tstrsequence(uchar c) { - if (c & 0x80) { - switch (c) { - case 0x90: /* DCS -- Device Control String */ - c = 'P'; - break; - case 0x9f: /* APC -- Application Program Command */ - c = '_'; - break; - case 0x9e: /* PM -- Privacy Message */ - c = '^'; - break; - case 0x9d: /* OSC -- Operating System Command */ - c = ']'; - break; - } + switch (c) { + case 0x90: /* DCS -- Device Control String */ + c = 'P'; + break; + case 0x9f: /* APC -- Application Program Command */ + c = '_'; + break; + case 0x9e: /* PM -- Privacy Message */ + c = '^'; + break; + case 0x9d: /* OSC -- Operating System Command */ + c = ']'; + break; } strreset(); strescseq.type = c; |