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());
|
SetColumnWidth(0, rc.GetWidth());
|
||||||
}
|
}
|
||||||
else
|
else if (GetColumnCount() > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
int resizable = rc.GetWidth() - (
|
int resizable = rc.GetWidth() - (
|
||||||
|
|
Loading…
Reference in New Issue