From 8a7640f8b43269e2c4cf5980ef8fa627aedc9242 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 21 Jul 2014 20:52:56 -0400 Subject: [PATCH] DolphinWX: Fix a double truncation warning in InputConfigDiagBitmaps --- Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp index 72faac4150..e33e14a53c 100644 --- a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp +++ b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp @@ -112,7 +112,7 @@ static void DrawControlGroupBox(wxDC &dc, ControlGroupBox *g) if (g->control_group->name == "Main Stick") { max = (87.0f / 127.0f) * 100; - diagonal = (55.0f / 127.0f) * 100.0; + diagonal = (55.0f / 127.0f) * 100; } else if (g->control_group->name == "C-Stick") {