From a0b266d49232fa5381205ae7f86e5cd76617432c Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Mon, 19 Nov 2018 14:35:33 -0500 Subject: [PATCH] Fix typo --- ShareX/Forms/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShareX/Forms/MainForm.cs b/ShareX/Forms/MainForm.cs index cea13dc6a..a74376985 100644 --- a/ShareX/Forms/MainForm.cs +++ b/ShareX/Forms/MainForm.cs @@ -302,7 +302,7 @@ protected override void WndProc(ref Message m) { if (m.Msg == (int)WindowsMessages.QUERYENDSESSION) { - // Calling ToInt64 because the int conversion operator (called when irectly casting the IntPtr to the enum) + // Calling ToInt64 because the int conversion operator (called when directly casting the IntPtr to the enum) // enforces checked semantics thus crashes any 64 bits build. ToInt64() and long -> enum conversion doesn't. EndSessionReasons reason = (EndSessionReasons)m.LParam.ToInt64(); if (reason.HasFlag(EndSessionReasons.ENDSESSION_CLOSEAPP))