]> git.armaanb.net Git - st.git/blobdiff - st.c
fix memory leak in xloadcols()
[st.git] / st.c
diff --git a/st.c b/st.c
index 574dbeee866f2704cb6b3bd971d0089af47f258d..a51d19c61b1210bd35a482a8a05002961ef100cd 100644 (file)
--- a/st.c
+++ b/st.c
@@ -1452,7 +1452,8 @@ tsetattr(int *attr, int l)
                        } else {
                                fprintf(stderr,
                                        "erresc(default): gfx attr %d unknown\n",
-                                       attr[i]), csidump();
+                                       attr[i]);
+                               csidump();
                        }
                        break;
                }
@@ -2261,7 +2262,7 @@ eschandle(uchar ascii)
        case 'Z': /* DECID -- Identify Terminal */
                ttywrite(vtiden, strlen(vtiden), 0);
                break;
-       case 'c': /* RIS -- Reset to inital state */
+       case 'c': /* RIS -- Reset to initial state */
                treset();
                resettitle();
                xloadcols();