aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/scriptables/ScEngine.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-12 07:05:35 +0200
committerEinar Johan Trøan Sømåen2012-06-02 13:02:27 +0200
commitc97705cedf2a3b7a74219d2e668bd3a80233dbbe (patch)
tree89900a0acfd089e6cc90a36ef2175694c1a46b77 /engines/wintermute/scriptables/ScEngine.cpp
parente57364959f4684a61480023e58205ee4593f5f9d (diff)
downloadscummvm-rg350-c97705cedf2a3b7a74219d2e668bd3a80233dbbe.tar.gz
scummvm-rg350-c97705cedf2a3b7a74219d2e668bd3a80233dbbe.tar.bz2
scummvm-rg350-c97705cedf2a3b7a74219d2e668bd3a80233dbbe.zip
WINTERMUTE: Fix a few more warnings
Diffstat (limited to 'engines/wintermute/scriptables/ScEngine.cpp')
-rw-r--r--engines/wintermute/scriptables/ScEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/scriptables/ScEngine.cpp b/engines/wintermute/scriptables/ScEngine.cpp
index 4edb1c771b..67e9f9eef0 100644
--- a/engines/wintermute/scriptables/ScEngine.cpp
+++ b/engines/wintermute/scriptables/ScEngine.cpp
@@ -80,7 +80,7 @@ CScEngine::CScEngine(CBGame *inGame): CBBase(inGame) {
::FreeLibrary(_compilerDLL);
_compilerDLL = NULL;
} else {
- /*
+ */ /*
// publish external methods to the compiler
CALLBACKS c;
c.Dll_AddError = AddError;
@@ -759,7 +759,7 @@ HRESULT CScEngine::SaveBreakpoints() {
for (int j = 0; j < _breakpoints[i]->_lines.GetSize(); j++) {
Count++;
sprintf(Key, "Breakpoint%d", Count);
- sprintf(Text, "%s:%d", _breakpoints[i]->_filename, _breakpoints[i]->_lines[j]);
+ sprintf(Text, "%s:%d", _breakpoints[i]->_filename.c_str(), _breakpoints[i]->_lines[j]);
Game->_registry->WriteString("Debug", Key, Text);
}