simplify adding options in Menu class

This commit is contained in:
unK
2008-09-10 11:06:01 +02:00
parent e36bf0a3cc
commit 226702f23a
5 changed files with 19 additions and 68 deletions

View File

@@ -764,7 +764,7 @@ void GetDirectory(string dir, string subdir)
break;
}
}
bold ? mBrowser->AddBoldOption(*it) : mBrowser->AddOption(*it);
mBrowser->AddOption(*it, bold);
break;
}
}