pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369734c
)
Fixing title setting with the title argument.
author
Christoph Lohmann
<20h@r-36.net>
Sun, 9 Jun 2013 13:52:35 +0000
(15:52 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Sun, 9 Jun 2013 13:52:35 +0000
(15:52 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
28c083a
..
2811876
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-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);
}