shithub: cstory

Download patch

ref: 818640781bbd618728cf5814e283d1f52bc04c8a
parent: 5ca917bc97de25b736b9341757d10483a0a94c11
author: Gabriel Ravier <gabravier@gmail.com>
date: Mon Sep 23 16:18:49 EDT 2019

Fixed switch formatting

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/ArmsItem.cpp
+++ b/src/ArmsItem.cpp
@@ -448,10 +448,10 @@
 		{
 			switch (Call_Escape(ghWnd))
 			{
-			case 0:
-				return 0; // Quit game
-			case 2:
-				return 2; // Go to game intro
+				case 0:
+					return 0; // Quit game
+				case 2:
+					return 2; // Go to game intro
 			}
 		}
 
@@ -460,10 +460,10 @@
 
 		switch (TextScriptProc())
 		{
-		case 0:
-			return 0; // Quit game
-		case 2:
-			return 2; // Go to game intro
+			case 0:
+				return 0; // Quit game
+			case 2:
+				return 2; // Go to game intro
 		}
 
 		// Get currently displayed image