aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-17 18:28:45 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-17 18:28:45 (GMT)
commitc39af52bfca7f6962048a102597d88337c949b67 (patch)
treeb9d7d8cbc8f9ab5e20af3745663e84b14be1dbe4
parent51377a3c360b5a1d85bee40438df631c518e622f (diff)
downloadfluxbox_pavel-c39af52bfca7f6962048a102597d88337c949b67.zip
fluxbox_pavel-c39af52bfca7f6962048a102597d88337c949b67.tar.bz2
fix startup items in apps file with specified screen number
-rw-r--r--ChangeLog4
-rw-r--r--src/Remember.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6981683..bb02070 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0.1: 2Changes 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 }