Common: delete accidental dead branch (Coverity)
CID 135586 in widget_hotkey_list: logically dead code This code was added accidentally; it is both dead and unnecessary, and so was removed.
This commit is contained in:
parent
ba038ac507
commit
b9be9a4f57
|
@ -436,8 +436,6 @@ void WIDGET_HOTKEY_LIST::OnSize( wxSizeEvent& aEvent )
|
||||||
|
|
||||||
if( hk_column_width < HOTKEY_MIN_WIDTH )
|
if( hk_column_width < HOTKEY_MIN_WIDTH )
|
||||||
hk_column_width = HOTKEY_MIN_WIDTH;
|
hk_column_width = HOTKEY_MIN_WIDTH;
|
||||||
else if( hk_column_width <= 0 )
|
|
||||||
hk_column_width = 1;
|
|
||||||
|
|
||||||
int name_column_width = rect.width - hk_column_width - HORIZ_MARGIN;
|
int name_column_width = rect.width - hk_column_width - HORIZ_MARGIN;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue