From 80095d9107dfc7b1dfe2a8690bdede0dac857233 Mon Sep 17 00:00:00 2001 From: Gondos Date: Wed, 24 Jan 2024 23:58:53 +0100 Subject: [PATCH] Fix Planet.cpp --- Src/Orbiter/Planet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Orbiter/Planet.cpp b/Src/Orbiter/Planet.cpp index 9bc6f03b0..b924c9045 100644 --- a/Src/Orbiter/Planet.cpp +++ b/Src/Orbiter/Planet.cpp @@ -545,7 +545,7 @@ void Planet::ScanLabelLists (ifstream &cfg) ForEach(FILETYPE_MARKER, [&](const fs::directory_entry& entry) { char cbuf[256]; // open marker file - ifstream ulf(entry); + ifstream ulf(entry.path()); // read label header if (scanheader) {