diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2017-09-11 23:12:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-11 23:12:12 +0200 |
commit | 91c51e0f463100236969496532e373aa3d3fc175 (patch) | |
tree | 9319ecd205c634a6cc2409a5e171c5ff963b16d2 | |
parent | b1816beb09cacde0f16ebf6e9bfc08aa8f72a8c0 (diff) | |
parent | b03656f68cac2f5c0a4fa43e32c31101df68ef73 (diff) |
Merge pull request #321 from Achimh3011/patch-1
Ignore cmdline arguments if -session is used.
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c8720e6f..8a18409c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) { text += argv[i]; } - if (text.indexOf("-psn_") == 0) { + if ((text.indexOf("-psn_") == 0) || (text.indexOf("-session") == 0)) { text.clear(); } |