1
0
Fork 0

(svn r25726) -Fix: Right side of object class string was misaligned. (sbr)

release/1.4
frosch 2013-08-18 14:15:27 +00:00
parent f154d5915a
commit 4fc6cdfbea
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ public:
if (objclass->GetUISpecCount() == 0) continue; if (objclass->GetUISpecCount() == 0) continue;
if (!this->vscroll->IsVisible(pos++)) continue; if (!this->vscroll->IsVisible(pos++)) continue;
SetDParam(0, objclass->name); SetDParam(0, objclass->name);
DrawString(r.left + WD_MATRIX_LEFT, r.right + WD_MATRIX_RIGHT, y + WD_MATRIX_TOP, STR_JUST_STRING, DrawString(r.left + WD_MATRIX_LEFT, r.right - WD_MATRIX_RIGHT, y + WD_MATRIX_TOP, STR_JUST_STRING,
((int)i == _selected_object_class) ? TC_WHITE : TC_BLACK); ((int)i == _selected_object_class) ? TC_WHITE : TC_BLACK);
y += this->line_height; y += this->line_height;
} }