[Scummvm-git-logs] scummvm master -> dded4e6d719dc061371b957b4c687b8eabb7fbdc

rvanlaar noreply at scummvm.org
Tue Mar 22 23:08:35 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
dded4e6d71 JANITORIAL: Clean up file


Commit: dded4e6d719dc061371b957b4c687b8eabb7fbdc
    https://github.com/scummvm/scummvm/commit/dded4e6d719dc061371b957b4c687b8eabb7fbdc
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-03-23T00:07:43+01:00

Commit Message:
JANITORIAL: Clean up file

Spaces -> tab indent
fix spelling

Changed paths:
    engines/director/debugger.cpp


diff --git a/engines/director/debugger.cpp b/engines/director/debugger.cpp
index b5db569f439..a2bbacb851f 100644
--- a/engines/director/debugger.cpp
+++ b/engines/director/debugger.cpp
@@ -33,32 +33,32 @@ namespace Director {
 Debugger *g_debugger;
 
 Debugger::Debugger(): GUI::Debugger() {
-    g_debugger = this;
-    registerCmd("lingo", WRAP_METHOD(Debugger, cmd_lingo));
+	g_debugger = this;
+	registerCmd("lingo", WRAP_METHOD(Debugger, cmd_lingo));
 }
 
 bool Debugger::cmd_lingo(int argc, const char **argv) {
-    if (argc == 2 && !strcmp(argv[1], "on")) {
-        registerDefaultCmd(WRAP_DEFAULTCOMMAND(Debugger, lingoCommandProcessor));
-        debugPrintf(PROMPT);
-    }
-    return true;
+	if (argc == 2 && !strcmp(argv[1], "on")) {
+		registerDefaultCmd(WRAP_DEFAULTCOMMAND(Debugger, lingoCommandProcessor));
+		debugPrintf(PROMPT);
+	}
+	return true;
 }
 
 bool Debugger::lingoCommandProcessor(const char *inputOrig) {
-    if (!strcmp(inputOrig, "lingo off")) {
-        registerDefaultCmd(nullptr);
-        return true;
-    }
+	if (!strcmp(inputOrig, "lingo off")) {
+		registerDefaultCmd(nullptr);
+		return true;
+	}
 
-    Common::String expr = Common::String(inputOrig);
+	Common::String expr = Common::String(inputOrig);
 	// Compile the code to an anonymous function and call it
 	ScriptContext *sc = g_lingo->_compiler->compileAnonymous(expr);
 	Symbol sym = sc->_eventHandlers[kEventGeneric];
 	LC::call(sym, 0, false);
-    g_lingo->execute();
-    debugPrintf(PROMPT);
-    return true;
+	g_lingo->execute();
+	debugPrintf(PROMPT);
+	return true;
 }
 
-} // Enf of namespace Director
\ No newline at end of file
+} // End of namespace Director
\ No newline at end of file




More information about the Scummvm-git-logs mailing list