(svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset
This commit is contained in:
@@ -1588,7 +1588,7 @@ public:
|
|||||||
for (uint pos = this->vscroll.pos; pos < _fios_items.Length(); pos++) {
|
for (uint pos = this->vscroll.pos; pos < _fios_items.Length(); pos++) {
|
||||||
const FiosItem *item = _fios_items.Get(pos);
|
const FiosItem *item = _fios_items.Get(pos);
|
||||||
|
|
||||||
DrawString(widg->left + 4, widg->right - 2, y, item->title, _fios_colours[item->type]);
|
DrawString(widg->left + 2, widg->right - 2, y, item->title, _fios_colours[item->type]);
|
||||||
y += 10;
|
y += 10;
|
||||||
if (y >= this->vscroll.cap * 10 + widg->top + 1) break;
|
if (y >= this->vscroll.cap * 10 + widg->top + 1) break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user