diff --git a/interfaces/ImsdMessages.Ui-App.cppm b/interfaces/ImsdMessages.Ui-App.cppm index 25d8515..5facb67 100644 --- a/interfaces/ImsdMessages.Ui-App.cppm +++ b/interfaces/ImsdMessages.Ui-App.cppm @@ -51,7 +51,7 @@ export namespace ImsdMessages::Ui { StopFling(); // The composition ends with the window: committed into the field, // and the input method told (the disable Send's reset sends), so - // it does not carry the word into the next window. + // neither it nor the library carries the word into the next window. EndComposition(); vkDeviceWaitIdle(Crafter::Device::device); if (blinkTimer) g_source_remove(blinkTimer); diff --git a/interfaces/ImsdMessages.Ui-Canvas.cppm b/interfaces/ImsdMessages.Ui-Canvas.cppm index 9eabdf0..d2d2ac5 100644 --- a/interfaces/ImsdMessages.Ui-Canvas.cppm +++ b/interfaces/ImsdMessages.Ui-Canvas.cppm @@ -181,7 +181,7 @@ export namespace ImsdMessages::Ui { // compositor decides the real size on a phone anyway. void Create(std::uint32_t widthDp, std::uint32_t heightDp, std::string_view title, std::string_view appId, const std::filesystem::path& assetDir, const std::filesystem::path& cacheDir) { static bool deviceReady = false; - static std::string deviceError; // the library's set-up cannot run twice: a failure is final + static std::string deviceError; // a failed set-up is final: the app asks the library for nothing it could ask less of if (!deviceError.empty()) throw std::runtime_error(deviceError); if (!deviceReady) { std::error_code ec; @@ -190,7 +190,7 @@ export namespace ImsdMessages::Ui { try { Crafter::Device::Initialize(); } catch (const std::exception& e) { - deviceError = std::format("{} (the device's set-up cannot be run again)", e.what()); + deviceError = std::format("{} (the device's set-up is not run again)", e.what()); throw; } deviceReady = true; diff --git a/project.cpp b/project.cpp index c295d30..7eeb28d 100644 --- a/project.cpp +++ b/project.cpp @@ -85,7 +85,7 @@ extern "C" Configuration CrafterBuildProject(std::span a // The window library. Configuration* graphics = local ? LocalProject({ .projectFile = "../Crafter/Crafter.Graphics/project.cpp", .args = depArgs }) - : GitProject({ .source = { .url = "https://forgejo.catcrafts.net/Catcrafts/Crafter.Graphics.git", .commit = "079b6b0e1fa5ae5267086e61b0658b1c2704d14e" }, .args = depArgs }); + : GitProject({ .source = { .url = "https://forgejo.catcrafts.net/Catcrafts/Crafter.Graphics.git", .commit = "6f471ca6b1f83a7b9e0f653e1f73fa428596cb00" }, .args = depArgs }); // imsd-messages-core — numbers, time, the model, word wrap, gestures, // the message field's editing, the store and the sync logic: std +