From 78075ecd8919052ef83c002673e20b48d354bc2b Mon Sep 17 00:00:00 2001
From: Alam Ed Arias <alam@srb2.org>
Date: Tue, 17 Sep 2019 14:18:27 -0400
Subject: [PATCH 1/2] Fix FALLTHRU for Win32 console interface code

---
 src/sdl/i_system.c  | 2 +-
 src/win32/win_sys.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c
index a18443c52..96e3d5b23 100644
--- a/src/sdl/i_system.c
+++ b/src/sdl/i_system.c
@@ -531,7 +531,7 @@ static void Impl_HandleKeyboardConsoleEvent(KEY_EVENT_RECORD evt, HANDLE co)
 				break;
 			case VK_RETURN:
 				entering_con_command = false;
-				// Fall through.
+				/* FALLTHRU */
 			default:
 				event.data1 = MapVirtualKey(evt.wVirtualKeyCode,2); // convert in to char
 		}
diff --git a/src/win32/win_sys.c b/src/win32/win_sys.c
index d10f73b58..93b3ff523 100644
--- a/src/win32/win_sys.c
+++ b/src/win32/win_sys.c
@@ -327,7 +327,7 @@ static inline VOID I_GetConsoleEvents(VOID)
 							break;
 						case VK_RETURN:
 							entering_con_command = false;
-							// Fall through.
+							/* FALLTHRU */
 						default:
 							ev.data1 = MapVirtualKey(input.Event.KeyEvent.wVirtualKeyCode,2); // convert in to char
 					}

From 92779487a4130a244dbb90d12061a031ba5253d0 Mon Sep 17 00:00:00 2001
From: Alam Ed Arias <alam@srb2.org>
Date: Fri, 20 Sep 2019 12:32:18 -0400
Subject: [PATCH 2/2] avoid the source code from getting the wrong EOL

---
 .gitattributes | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitattributes b/.gitattributes
index d45620912..7751149ac 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,12 @@
+#Source code
+/src/*.c text=auto
+/src/*.h text=auto
+/src/*.s text=auto
+/src/*.m text=auto
+/src/*.xpm text=auto
+/src/Makefile text=auto
+/src/Make*.cfg text=auto
+/src/CMakeLists.txt text=auto
 # Windows EOL
 *.cs -crlf -whitespace
 *.mk -crlf -whitespace