]> git.tdb.fi Git - libs/gltk.git/commitdiff
Avoid segfault with a single multi-column item
authorMikko Rasa <tdb@tdb.fi>
Wed, 20 Nov 2013 11:24:57 +0000 (13:24 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 20 Nov 2013 11:24:57 +0000 (13:24 +0200)
source/list.cpp

index 7be93632a86447347e63e012c01f7bbca847348d..2a0aa066e98b0a8447df6989a0f7a29ac8a06b8b 100644 (file)
@@ -436,7 +436,7 @@ void List::MultiColumnItem::on_style_change()
                                mci->set_widths(self_widths);
        }
        else
-               set_widths(widths);
+               set_widths(self_widths);
 }