From 035cfd86e5d221cffb2673e936dcb8703e28ce4b Mon Sep 17 00:00:00 2001 From: rhyskidd Date: Wed, 30 May 2012 13:11:56 +0000 Subject: Fix further instances of a class being passed as variable to Print(), instead of the string data itself --- Parser/Reader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Parser/Reader.cpp') diff --git a/Parser/Reader.cpp b/Parser/Reader.cpp index 2863d01..77b7f66 100644 --- a/Parser/Reader.cpp +++ b/Parser/Reader.cpp @@ -1,6 +1,6 @@ /* Project STARS John DiCamillo Software Consulting - Copyright © 1997-2000. All Rights Reserved. + Copyright (C) 1997-2000. All Rights Reserved. SUBSYSTEM: obelisk FILE: reader.cpp @@ -63,7 +63,7 @@ FileReader::more() std::fstream fin(filename, std::fstream::in); if (!fin) { - Print("ERROR(Parse): Could not open file '%s'\n", filename); + Print("ERROR(Parse): Could not open file '%s'\n", filename.data()); return Text(); } -- cgit v1.1