From acfece0c53a4debbfe7661855efc0de5f75c631f Mon Sep 17 00:00:00 2001 From: Michael Sheldon Date: Sat, 14 May 2022 03:48:16 +0800 Subject: [PATCH] Add missing ONLINE_LEARNING configuration value to defaultProfile Fixes a crash in libpresage when a configuration file isn't found. Bug: https://sourceforge.net/p/presage/patches/3/ Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1639251 Forwarded: https://sourceforge.net/p/presage/patches/3/ Last-Update: 28/10/2016 Gbp-Pq: Name add-missing-online-learning-configuration-value.patch --- src/lib/core/defaultProfile.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lib/core/defaultProfile.cpp b/src/lib/core/defaultProfile.cpp index fe0d9bd..1f7e365 100644 --- a/src/lib/core/defaultProfile.cpp +++ b/src/lib/core/defaultProfile.cpp @@ -62,7 +62,16 @@ void DefaultProfile::build_xml_document (const std::string& filename) " " -" yes" +" yes" +" " +" yes" " " " " " ERROR"