From f52172f64a6aa39582d8179875a3968f0b9091cd Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Sun, 22 May 2011 20:42:01 +0000 Subject: [PATCH] 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 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41665 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/filetypes/FileTypesWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preferences/filetypes/FileTypesWindow.cpp b/src/preferences/filetypes/FileTypesWindow.cpp index b8f0364d9e..1827410262 100644 --- a/src/preferences/filetypes/FileTypesWindow.cpp +++ b/src/preferences/filetypes/FileTypesWindow.cpp @@ -253,7 +253,7 @@ ExtensionListView::~ExtensionListView() BSize ExtensionListView::MinSize() { - if (!fMinSize.IsWidthSet() || fMinSize.IsHeightSet()) { + if (!fMinSize.IsWidthSet()) { BFont font; GetFont(&font); fMinSize.width = font.StringWidth(".mmmmm");