[haiku-commits] r41665 - haiku/trunk/src/preferences/filetypes

  • From: yourpalal2@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 22 May 2011 22:42:01 +0200 (CEST)

Author: yourpalal
Date: 2011-05-22 22:42:01 +0200 (Sun, 22 May 2011)
New Revision: 41665
Changeset: https://dev.haiku-os.org/changeset/41665

Modified:
   haiku/trunk/src/preferences/filetypes/FileTypesWindow.cpp
Log:
Fix a typo I introduced in FileTypes in r41662, spotted by Axel (thanks!). Upon 
closer examination, the portion of code that contained the typo was 
superfluous, so I removed it all together.

+alpha


Modified: haiku/trunk/src/preferences/filetypes/FileTypesWindow.cpp
===================================================================
--- haiku/trunk/src/preferences/filetypes/FileTypesWindow.cpp   2011-05-22 
20:21:46 UTC (rev 41664)
+++ haiku/trunk/src/preferences/filetypes/FileTypesWindow.cpp   2011-05-22 
20:42:01 UTC (rev 41665)
@@ -253,7 +253,7 @@
 BSize
 ExtensionListView::MinSize()
 {
-       if (!fMinSize.IsWidthSet() || fMinSize.IsHeightSet()) {
+       if (!fMinSize.IsWidthSet()) {
                BFont font;
                GetFont(&font);
                fMinSize.width = font.StringWidth(".mmmmm");


Other related posts:

  • » [haiku-commits] r41665 - haiku/trunk/src/preferences/filetypes - yourpalal2