fix startup items in apps file with specified screen number
This commit is contained in:
parent
51377a3c36
commit
c39af52bfc
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.0.1:
|
||||
*07/12/17:
|
||||
* Fix startup items in apps file with specified screen number, bug #1843325
|
||||
(thanks Martin)
|
||||
Remember.cc
|
||||
*07/12/14:
|
||||
* Fix compiling with gcc 4.3 (thanks Dmitry E. Oboukhov)
|
||||
main.cc
|
||||
|
|
|
@ -212,7 +212,7 @@ bool handleStartupItem(const string &line, int offset) {
|
|||
if (pos > 0) {
|
||||
option = str.substr(0, pos);
|
||||
if (strcasecmp(option.c_str(), "screen") == 0) {
|
||||
error = getuint(str.c_str() + pos + 1, screen);
|
||||
error = !getuint(str.c_str() + pos + 1, screen);
|
||||
} else {
|
||||
error = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue