From 3e1cc46523c92755e66587a74f4a210faaf9512a Mon Sep 17 00:00:00 2001 From: Douglas Date: Mon, 8 May 2017 17:40:42 -0700 Subject: [PATCH] Fix for Emulator Issue #10267: Game list column sizes are being incorrectly calculated. Default column width was being used for math related to automatic column sizing, in the case of COLUMN_SIZE the default width was -1 which resulted in an issue where an errant scrollbar would appear. --- Source/Core/DolphinWX/GameListCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp index 95956ea8f1..e6e3758439 100644 --- a/Source/Core/DolphinWX/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/GameListCtrl.cpp @@ -1461,7 +1461,7 @@ void CGameListCtrl::AutomaticColumnWidth() if (c.resizable) visible_columns.push_back(c.id); else - remaining_width -= c.default_width; + remaining_width -= GetColumnWidth(c.id); } }