From bbb28525f1e3f31eb0625447c28d5e319c7db2fe Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Mon, 2 Mar 2020 17:15:30 +1000 Subject: [PATCH] Fix typo in switch expression fixes up 18762c75e --- BizHawk.Client.Common/lua/LuaLibraryBase.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.Common/lua/LuaLibraryBase.cs b/BizHawk.Client.Common/lua/LuaLibraryBase.cs index 70c1b44cc8..b3a360e09d 100644 --- a/BizHawk.Client.Common/lua/LuaLibraryBase.cs +++ b/BizHawk.Client.Common/lua/LuaLibraryBase.cs @@ -62,10 +62,10 @@ namespace BizHawk.Client.Common { return o switch { + null => null, double d => Color.FromArgb((int) (long) d), string s => Color.FromName(s), - null => null, - _ => null + _ => (Color?) null }; }