aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-16 13:51:07 +0000
committerSaturneric <[email protected]>2023-02-16 13:51:07 +0000
commitbabc5e80cede9abba51cdafb5e8cd830ea9b9902 (patch)
tree9080eaaf8c91617309c559925d24da99246b4d4d
parentfeat: support qt6 in github action build (diff)
downloadGpgFrontend-babc5e80cede9abba51cdafb5e8cd830ea9b9902.tar.gz
GpgFrontend-babc5e80cede9abba51cdafb5e8cd830ea9b9902.zip
fix: solve build problem on windows platform
-rw-r--r--src/ui/GpgFrontendUIInit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp
index 09e01ea9..999e597a 100644
--- a/src/ui/GpgFrontendUIInit.cpp
+++ b/src/ui/GpgFrontendUIInit.cpp
@@ -235,7 +235,7 @@ void init_locale() {
language_env.insert(0, "LANGUAGE=");
SPDLOG_DEBUG("language env: {}", language_env);
if (putenv(language_env.c_str())) {
- spdlog::warn, "set LANGUAGE failed", language_env;
+ SPDLOG_WARN("set LANGUAGE {} failed", language_env);
};
}
#endif