summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }