From c39af52bfca7f6962048a102597d88337c949b67 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 17 Dec 2007 10:28:45 -0800 Subject: fix startup items in apps file with specified screen number --- ChangeLog | 4 ++++ src/Remember.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6981683..bb02070 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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) { 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; } -- cgit v0.11.2