diff options
| author | Einar Johan Trøan Sømåen | 2012-05-12 07:05:35 +0200 |
|---|---|---|
| committer | Einar Johan Trøan Sømåen | 2012-06-02 13:02:27 +0200 |
| commit | c97705cedf2a3b7a74219d2e668bd3a80233dbbe (patch) | |
| tree | 89900a0acfd089e6cc90a36ef2175694c1a46b77 /engines/wintermute/scriptables/ScEngine.cpp | |
| parent | e57364959f4684a61480023e58205ee4593f5f9d (diff) | |
| download | scummvm-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.cpp | 4 |
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);
}
|
