From e4be699c66a172bbd68ded25d81fcb65fabfad99 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 25 Jul 2023 15:37:31 +0200 Subject: [PATCH] fix windows error reporting --- solanaceae/plugin/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solanaceae/plugin/plugin.cpp b/solanaceae/plugin/plugin.cpp index 5e7823d..19b726a 100644 --- a/solanaceae/plugin/plugin.cpp +++ b/solanaceae/plugin/plugin.cpp @@ -44,7 +44,7 @@ Plugin::Plugin(const char* path) { std::cerr << "PLG opening '" << path << "' failed"; #if defined(_WIN32) || defined(_WIN64) // TODO: windows error reporting - std::cerr << ": " << GetLastError() << "; + std::cerr << ": '" << GetLastError() << "'"; #else const auto* error = dlerror(); if (error != nullptr) {