]> git.armaanb.net Git - st.git/commitdiff
Remove useless if in tstrsequence.
authornoname@inventati.org <noname@inventati.org>
Mon, 13 Apr 2015 12:34:23 +0000 (14:34 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 13 Apr 2015 13:17:24 +0000 (15:17 +0200)
st.c

diff --git a/st.c b/st.c
index 79bb6aa63b5d745543c830cdec8bc8e655cbecf0..4f5cf9ed78cc93be6e1be821ed5ae2604c4dc7f6 100644 (file)
--- a/st.c
+++ b/st.c
@@ -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;