aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Tab.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index acf6ae5..2cc3c84 100644
--- a/src/Tab.cc
+++ b/src/Tab.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Tab.cc,v 1.37 2002/10/29 16:03:15 fluxgen Exp $ 22// $Id: Tab.cc,v 1.38 2002/11/12 16:13:24 rathnor Exp $
23 23
24#include "Tab.hh" 24#include "Tab.hh"
25 25
@@ -389,7 +389,7 @@ void Tab::draw(bool pressed) const {
389 l = winstyle->tab.font.textWidth(m_win->getTitle().c_str(), dlen); 389 l = winstyle->tab.font.textWidth(m_win->getTitle().c_str(), dlen);
390 l += (dx * 4); 390 l += (dx * 4);
391 391
392 if (l < m_size_w) 392 if (l < m_size_w || dlen == 0)
393 break; 393 break;
394 } 394 }
395 } 395 }