From d88fb379473b582f32ee7565434f525413db1da9 Mon Sep 17 00:00:00 2001 From: Varpie Date: Wed, 10 Nov 2021 03:53:26 +0100 Subject: [PATCH] Fixing typo (#3518) When opening Xournal++ after an update changing where the configuration files are located, users are greeted with a message that contains an error. This commit fixes it. --- src/control/XournalMain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control/XournalMain.cpp b/src/control/XournalMain.cpp index 033872c4fd70..3770faf2c1db 100644 --- a/src/control/XournalMain.cpp +++ b/src/control/XournalMain.cpp @@ -101,12 +101,12 @@ auto migrateSettings() -> MigrateResult { Util::ensureFolderExists(newConfigPath.parent_path()); try { fs::copy(oldPath, newConfigPath, fs::copy_options::recursive); - constexpr auto msg = "Due to a recent update, Xournal++ has changed where it's configuration files are " + constexpr auto msg = "Due to a recent update, Xournal++ has changed where its configuration files are " "stored.\nThey have been automatically copied from\n\t{1}\nto\n\t{2}"; return {MigrateStatus::Success, FS(_F(msg) % oldPath.u8string() % newConfigPath.u8string())}; } catch (fs::filesystem_error const& except) { constexpr auto msg = - "Due to a recent update, Xournal++ has changed where it's configuration files are " + "Due to a recent update, Xournal++ has changed where its configuration files are " "stored.\nHowever, when attempting to copy\n\t{1}\nto\n\t{2}\nmigration failed:\n{3}"; g_message("Migration failed: %s", except.what()); return {MigrateStatus::Failure,