Commit 8ac98153 authored by Clément Stenac's avatar Clément Stenac

Patch to zcot's patch by zcot :)

parent 7d3d47c4
...@@ -498,10 +498,10 @@ void Interface::CreateOurMenuBar() ...@@ -498,10 +498,10 @@ void Interface::CreateOurMenuBar()
{ {
// [ MENU BUTTON WIDTH CALCULATION ] // [ MENU BUTTON WIDTH CALCULATION ]
// [ SM_CXDLGFRAME + pixels + textextent + pixels + SM_CXDLGFRAME ] // [ SM_CXDLGFRAME + pixels + textextent + pixels + SM_CXDLGFRAME ]
GetTextExtentPoint32( hdc, menubar->GetLabelTop(i), GetTextExtentPoint32( hdc, menubar->GetLabelTop(i).c_str(),
strlen( menubar->GetLabelTop(i) ), menubar->GetLabelTop(i).Length(), &sizing );
&sizing ); // + text size..
i_size += sizing.cx; // + text size.. i_size += sizing.cx;
// +1 more pixel on each size // +1 more pixel on each size
i_size += 2; i_size += 2;
// width of 2 DLGFRAME // width of 2 DLGFRAME
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment