diff options
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);
  		}
  | 
