From 5b08dc312caeeb33bcc7ed7fd64c3230ecdc0266 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 18 Jan 2023 09:53:29 -0500 Subject: [PATCH] 2023-01-18 Fred Gleason * Fixed a bug in rdservice(8) that could cause dropboxes to be instantiated with invalid segue level values. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ rdservice/startup.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9440d35a..9fae2e02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20966,3 +20966,6 @@ * Fixed a bug in rdlibrary(1) that caused the field names for the 'FILENAME' and 'LENGTH' fields in the 'Cart Data Dump (CSV)' report to be corrupted. +2023-01-18 Fred Gleason + * Fixed a bug in rdservice(8) that could cause dropboxes to be + instantiated with invalid segue level values. diff --git a/rdservice/startup.cpp b/rdservice/startup.cpp index 51e41b0a..7082a672 100644 --- a/rdservice/startup.cpp +++ b/rdservice/startup.cpp @@ -279,7 +279,7 @@ bool MainObject::StartDropboxes(QString *err_msg) } if(q->value(22).toInt()<1) { args.push_back(QString().sprintf("--segue-level=%d", - q->value(22).toInt())); + q->value(22).toInt()/100)); args.push_back(QString().sprintf("--segue-length=%u", q->value(23).toUInt())); }