diff options
author | Christoph Lohmann | 2013-06-09 15:52:35 +0200 |
---|---|---|
committer | Christoph Lohmann | 2013-06-09 15:52:35 +0200 |
commit | df12c88e4e2811a054a417600f15bb3b89f1eaaf (patch) | |
tree | a47a74b0a03b89f0eee932c87a25f4c73bf3d197 /st.c | |
parent | c8238c328edad329ef1146eed08bf86265d6c470 (diff) | |
download | aur-df12c88e4e2811a054a417600f15bb3b89f1eaaf.tar.gz |
Fixing title setting with the title argument.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3639,7 +3639,7 @@ main(int argc, char *argv[]) { /* eat all remaining arguments */ if(argc > 1) { opt_cmd = &argv[1]; - if(argv[1] != NULL) { + if(argv[1] != NULL && opt_title == NULL) { titles = strdup(argv[1]); opt_title = basename(titles); } |