From 567fe756b72a85b6627195f0a54b2b5c82a2ebc1 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 18 Jan 2023 09:51:42 -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 74165eab..ceed35ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23927,3 +23927,6 @@ 2023-01-18 Fred Gleason * Corrected errors in the WebAPI documentation regarding the argument type of the 'LINE_TIME_TYPE' field in the 'SaveLog' call. +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 72aed5af..b88a014c 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::asprintf("--segue-level=%d", - q->value(22).toInt())); + q->value(22).toInt()/100)); args.push_back(QString::asprintf("--segue-length=%u", q->value(23).toUInt())); }