@@ -1540,13 +1540,13 @@ struct NetworkLobbyWindow : public Windo
/* Draw window widgets */
this->DrawWidgets();
}
void DrawMatrix(const Rect &r) const
{
bool rtl = _dynlang.text_dir == TD_RTL;
bool rtl = _current_text_dir == TD_RTL;
uint left = r.left + WD_FRAMERECT_LEFT;
uint right = r.right - WD_FRAMERECT_RIGHT;
Dimension lock_size = GetSpriteSize(SPR_LOCK);
int lock_width = lock_size.width;
int lock_y_offset = (this->resize.step_height - WD_MATRIX_TOP - WD_MATRIX_BOTTOM - lock_size.height) / 2;
@@ -2061,13 +2061,13 @@ struct NetworkClientListWindow : Window
virtual void DrawWidget(const Rect &r, int widget) const
if (widget != CLW_PANEL) return;
int icon_y_offset = 1 + (FONT_HEIGHT_NORMAL - 10) / 2;
uint y = r.top + WD_FRAMERECT_TOP;
uint type_icon_width = this->server_client_width + this->company_icon_width;