mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
Merge pull request #518 from glennricster/master
Ensure (Get|Set)ColumnWidth is not called on a non existant column.
This commit is contained in:
commit
07da9cbcf4
@ -1285,7 +1285,7 @@ void CGameListCtrl::AutomaticColumnWidth()
|
||||
{
|
||||
SetColumnWidth(0, rc.GetWidth());
|
||||
}
|
||||
else
|
||||
else if (GetColumnCount() > 0)
|
||||
{
|
||||
|
||||
int resizable = rc.GetWidth() - (
|
||||
|
Loading…
x
Reference in New Issue
Block a user