diff options
author | zakk4223 <[email protected]> | 2024-10-16 16:13:59 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-16 22:13:59 +0100 |
commit | 09581d32fd465c5c4ff868090369ee67516c38a9 (patch) | |
tree | 9d700787d9f218cc4a940dd017532a58b71a153a | |
parent | 86e9f69a69990feb880dadd0c2b8c067b2a96fa9 (diff) | |
download | Hyprland-09581d32fd465c5c4ff868090369ee67516c38a9.tar.gz Hyprland-09581d32fd465c5c4ff868090369ee67516c38a9.zip |
hyprpm: Fix crashes due to misplaced fmt argument(s) (#8140)
-rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 359b2c78..57c67641 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -697,7 +697,7 @@ bool CPluginManager::updatePlugins(bool forceUpdateAll) { " This likely means that the plugin is either outdated, not yet available for your version, or broken.\n" "If you are on -git, update first.\n" "Try re-running with -v to see more verbose output.", - failureString("Plugin {} failed to build.")); + failureString("Plugin {} failed to build.", p.name)); p.failed = true; continue; } @@ -839,7 +839,7 @@ ePluginLoadStateReturn CPluginManager::ensurePluginsLoadState() { continue; loadUnloadPlugin(HYPRPMPATH + repoForName(p.name) + "/" + p.filename, true); - std::println("{}", successString("Loaded {}"), p.name); + std::println("{}", successString("Loaded {}", p.name)); } } |