diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-17 18:28:45 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-17 18:28:45 (GMT) |
commit | c39af52bfca7f6962048a102597d88337c949b67 (patch) | |
tree | b9d7d8cbc8f9ab5e20af3745663e84b14be1dbe4 | |
parent | 51377a3c360b5a1d85bee40438df631c518e622f (diff) | |
download | fluxbox-c39af52bfca7f6962048a102597d88337c949b67.zip fluxbox-c39af52bfca7f6962048a102597d88337c949b67.tar.bz2 |
fix startup items in apps file with specified screen number
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/Remember.cc | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0.1: | 2 | Changes for 1.0.1: |
3 | *07/12/17: | ||
4 | * Fix startup items in apps file with specified screen number, bug #1843325 | ||
5 | (thanks Martin) | ||
6 | Remember.cc | ||
3 | *07/12/14: | 7 | *07/12/14: |
4 | * Fix compiling with gcc 4.3 (thanks Dmitry E. Oboukhov) | 8 | * Fix compiling with gcc 4.3 (thanks Dmitry E. Oboukhov) |
5 | main.cc | 9 | main.cc |
diff --git a/src/Remember.cc b/src/Remember.cc index a415c70..827b1e3 100644 --- a/src/Remember.cc +++ b/src/Remember.cc | |||
@@ -212,7 +212,7 @@ bool handleStartupItem(const string &line, int offset) { | |||
212 | if (pos > 0) { | 212 | if (pos > 0) { |
213 | option = str.substr(0, pos); | 213 | option = str.substr(0, pos); |
214 | if (strcasecmp(option.c_str(), "screen") == 0) { | 214 | if (strcasecmp(option.c_str(), "screen") == 0) { |
215 | error = getuint(str.c_str() + pos + 1, screen); | 215 | error = !getuint(str.c_str() + pos + 1, screen); |
216 | } else { | 216 | } else { |
217 | error = true; | 217 | error = true; |
218 | } | 218 | } |