Merge pull request #518 from glennricster/master

Ensure (Get|Set)ColumnWidth is not called on a non existant column.
This commit is contained in:
Tony Wasserka 2014-06-20 14:12:15 +02:00
commit 07da9cbcf4
1 changed files with 1 additions and 1 deletions

View File

@ -1285,7 +1285,7 @@ void CGameListCtrl::AutomaticColumnWidth()
{
SetColumnWidth(0, rc.GetWidth());
}
else
else if (GetColumnCount() > 0)
{
int resizable = rc.GetWidth() - (