aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
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 /src/Remember.cc
parent51377a3c360b5a1d85bee40438df631c518e622f (diff)
downloadfluxbox-c39af52bfca7f6962048a102597d88337c949b67.zip
fluxbox-c39af52bfca7f6962048a102597d88337c949b67.tar.bz2
fix startup items in apps file with specified screen number
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc2
1 files changed, 1 insertions, 1 deletions
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 }