From 56b17310ee7bfdc200407ef951b3dec8111aca96 Mon Sep 17 00:00:00 2001 From: Ted John Date: Tue, 13 Dec 2016 23:33:16 +0000 Subject: [PATCH] Fix writing of string values to console --- src/ScenarioRepository.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ScenarioRepository.cpp b/src/ScenarioRepository.cpp index ade623ffd8..43403f2c20 100644 --- a/src/ScenarioRepository.cpp +++ b/src/ScenarioRepository.cpp @@ -470,7 +470,7 @@ private: } catch (Exception ex) { - Console::Error::WriteLine("Error reading legacy scenario scores file: '%s'", path); + Console::Error::WriteLine("Error reading legacy scenario scores file: '%s'", path.c_str()); } if (highscoresDirty) @@ -528,7 +528,7 @@ private: } catch (Exception ex) { - Console::Error::WriteLine("Unable to save highscores to '%s'", path); + Console::Error::WriteLine("Unable to save highscores to '%s'", path.c_str()); } }