Init _selected_item in initWithCode

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35521 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2012-09-04 16:47:03 +00:00
parent bed52af8c3
commit 0c5c7ed17e

View file

@ -558,6 +558,8 @@
{
self = [super initWithCoder: aDecoder];
_selected_item = NSNotFound;
if ([aDecoder allowsKeyedCoding])
{
if ([aDecoder containsValueForKey: @"NSAllowTruncatedLabels"])