[SCM] Wormux PKG branch, trunk-ups, updated. 1c6aef37603d0112cf9efc4edb64bdd029bc40d4

lynxlynxlynx lynxlynxlynx at 30ef787d-52ff-0310-b286-e08351bb7647
Tue Aug 26 08:44:07 UTC 2008


The following commit has been merged in the trunk-ups branch:
commit 27c1369c4d263e1fd08b633c46c49cf2d9dcf3c4
Author: lynxlynxlynx <lynxlynxlynx at 30ef787d-52ff-0310-b286-e08351bb7647>
Date:   Mon Aug 25 19:16:42 2008 +0000

    fixed tab build on x86_64
    
    
    git-svn-id: svn+ssh://svn.gna.org/svn/wormux/trunk@4891 30ef787d-52ff-0310-b286-e08351bb7647

diff --git a/src/gui/tabs.cpp b/src/gui/tabs.cpp
index a037976..9b6d5b9 100644
--- a/src/gui/tabs.cpp
+++ b/src/gui/tabs.cpp
@@ -265,7 +265,7 @@ void MultiTabs::Pack()
     }
 
   // Compute how many tabs can be displayed
-  nb_visible_tabs = std::min(tabs.size(), uint(GetSizeX() / TAB_MIN_WIDTH));
+  nb_visible_tabs = std::min(uint(tabs.size()), uint(GetSizeX() / TAB_MIN_WIDTH));
   nb_visible_tabs = std::min(nb_visible_tabs, max_visible_tabs);
 
   if (nb_visible_tabs == 0)

-- 
Wormux PKG



More information about the Pkg-games-commits mailing list