--- st.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/st.c b/st.c index b2bcfe9..867744a 100644 --- a/st.c +++ b/st.c _AT_@ -4021,7 +4021,6 @@ usage(void) { int main(int argc, char *argv[]) { - char *titles; uint cols = 80, rows = 24; xw.l = xw.t = 0; _AT_@ -4039,10 +4038,8 @@ main(int argc, char *argv[]) { /* eat all remaining arguments */ if(argc > 1) { opt_cmd = &argv[1]; - if(argv[1] != NULL && opt_title == NULL) { - titles = xstrdup(argv[1]); - opt_title = basename(titles); - } + if(argv[1] != NULL && opt_title == NULL) + opt_title = basename(xstrdup(argv[1])); } goto run; case 'f': -- 1.8.4Received on Mon Apr 13 2015 - 16:05:29 CEST
This archive was generated by hypermail 2.3.0 : Mon Apr 13 2015 - 16:12:08 CEST