Merge branch 'main' into curl

This commit is contained in:
MihailRis
2024-11-27 23:37:32 +03:00
8 changed files with 132 additions and 107 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ static std::unique_ptr<ImageData> load_icon(const fs::path& resdir) {
try {
auto file = resdir / fs::u8path("textures/misc/icon.png");
if (fs::exists(file)) {
return imageio::read(file.u8string());
return imageio::read(file);
}
} catch (const std::exception& err) {
logger.error() << "could not load window icon: " << err.what();