From: <geo...@us...> - 2008-12-02 18:14:37
|
Revision: 2690 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=2690&view=rev Author: geoffthemedio Date: 2008-12-02 18:14:34 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Fixed missing explicit construction of GG::Y in OptionsWnd.cpp Modified Paths: -------------- trunk/FreeOrion/UI/OptionsWnd.cpp Modified: trunk/FreeOrion/UI/OptionsWnd.cpp =================================================================== --- trunk/FreeOrion/UI/OptionsWnd.cpp 2008-12-02 01:31:21 UTC (rev 2689) +++ trunk/FreeOrion/UI/OptionsWnd.cpp 2008-12-02 18:14:34 UTC (rev 2690) @@ -586,7 +586,7 @@ // create controls GG::ListBox::Row* row = new GG::ListBox::Row(); - const GG::Y DROPLIST_HEIGHT = ClientUI::Pts() + 4; + const GG::Y DROPLIST_HEIGHT = GG::Y(ClientUI::Pts() + 4); const GG::Y DROPLIST_DROP_HEIGHT = DROPLIST_HEIGHT * 10; GG::TextControl* drop_list_text_control = new GG::TextControl(GG::X0, GG::Y0, UserString("OPTIONS_VIDEO_MODE"), ClientUI::GetFont(), ClientUI::TextColor(), GG::FORMAT_LEFT, GG::CLICKABLE); CUIDropDownList* drop_list = new CUIDropDownList(GG::X0, GG::Y0, GG::X1, DROPLIST_HEIGHT, DROPLIST_DROP_HEIGHT); |