From 7b786cea185ced16c8bf7c5d1d65d08a8863972d Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Mon, 23 Nov 2020 02:16:34 -0800
Subject: [PATCH] Use tabs

---
 FCHost/fchost/fchost_handler.cc | 40 ++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/FCHost/fchost/fchost_handler.cc b/FCHost/fchost/fchost_handler.cc
index 970b4e0176b..b3c8cd28082 100644
--- a/FCHost/fchost/fchost_handler.cc
+++ b/FCHost/fchost/fchost_handler.cc
@@ -190,13 +190,13 @@ bool FCHostHandler::OnPreKeyEvent(CefRefPtr<CefBrowser> browser,
 {
 	CEF_REQUIRE_UI_THREAD();
 
-    // for nonwindows platforms, we need to know the windows equivalent keycode, because CEF will convert to them for us
-    const int key_f = 0x46;
-    const int key_j = 0x4A;
-    const int key_plus = 0xBB;
-    const int key_numpad_plus = 0x6B;
-    const int key_minus = 0xBD;
-    const int key_numpad_minus = 0x6D;
+	// for nonwindows platforms, we need to know the windows equivalent keycode, because CEF will convert to them for us
+	const int key_f = 0x46;
+	const int key_j = 0x4A;
+	const int key_plus = 0xBB;
+	const int key_numpad_plus = 0x6B;
+	const int key_minus = 0xBD;
+	const int key_numpad_minus = 0x6D;
 
 	if (event.type == cef_key_event_type_t::KEYEVENT_RAWKEYDOWN)
 	{
@@ -217,19 +217,19 @@ bool FCHostHandler::OnPreKeyEvent(CefRefPtr<CefBrowser> browser,
 			// probably can do this at some point by ripping off code from the full-fat cefclient, but damn there's a lot of it...
 			// return true;
 		}
-        // CTRL++ - zoom in
-        else if (event.modifiers == cef_event_flags_t::EVENTFLAG_CONTROL_DOWN && (event.windows_key_code == key_plus || event.windows_key_code == key_numpad_plus))
-        {
-            double curZoom = browser->GetHost()->GetZoomLevel();
-            browser->GetHost()->SetZoomLevel(curZoom + 1.0);
-        }
-        // CTRL+- - zoom out
-        else if (event.modifiers == cef_event_flags_t::EVENTFLAG_CONTROL_DOWN && (event.windows_key_code == key_minus || event.windows_key_code == key_numpad_minus))
-        {
-            double curZoom = browser->GetHost()->GetZoomLevel();
-            browser->GetHost()->SetZoomLevel(curZoom - 1.0);
-        }
-    }
+		// CTRL++ - zoom in
+		else if (event.modifiers == cef_event_flags_t::EVENTFLAG_CONTROL_DOWN && (event.windows_key_code == key_plus || event.windows_key_code == key_numpad_plus))
+		{
+			double curZoom = browser->GetHost()->GetZoomLevel();
+			browser->GetHost()->SetZoomLevel(curZoom + 1.0);
+		}
+		// CTRL+- - zoom out
+		else if (event.modifiers == cef_event_flags_t::EVENTFLAG_CONTROL_DOWN && (event.windows_key_code == key_minus || event.windows_key_code == key_numpad_minus))
+		{
+			double curZoom = browser->GetHost()->GetZoomLevel();
+			browser->GetHost()->SetZoomLevel(curZoom - 1.0);
+		}
+	}
 
 	return false;
 }
-- 
GitLab