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 --- Stars45/Campaign.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Stars45/Campaign.cpp') diff --git a/Stars45/Campaign.cpp b/Stars45/Campaign.cpp index fb7fdbe..7d943e0 100644 --- a/Stars45/Campaign.cpp +++ b/Stars45/Campaign.cpp @@ -1,6 +1,6 @@ /* Project Starshatter 4.5 Destroyer Studios LLC - Copyright © 1997-2006. All Rights Reserved. + Copyright (C) 1997-2006. All Rights Reserved. SUBSYSTEM: Stars.exe FILE: Campaign.cpp @@ -1678,9 +1678,9 @@ Campaign::DeleteMission(int id) char full_path[256]; if (path[strlen(path)-1] == '/') - sprintf_s(full_path, "%s%s", path, m->script); + sprintf_s(full_path, "%s%s", path, m->script.data()); else - sprintf_s(full_path, "%s/%s", path, m->script); + sprintf_s(full_path, "%s/%s", path, m->script.data()); DeleteFile(full_path); Load(); -- cgit v1.1