mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 18:27:26 +00:00
GRAPHICS: MACGUI: Fix table cell rendering in MacText
This commit is contained in:
parent
8a2ebba04e
commit
bf851f574d
@ -3049,10 +3049,10 @@ void MacText::processTable(int line) {
|
||||
}
|
||||
|
||||
r = 0;
|
||||
x = 1 + gutter;
|
||||
y = 1 + gutter;
|
||||
for (auto &row : *table) {
|
||||
int c = 0;
|
||||
x = 1 + gutter;
|
||||
for (auto &cell : row.cells) {
|
||||
surf->blitFrom(*cell._surface, Common::Point(x, y));
|
||||
x += gutter * 2 + 1 + colW[c];
|
||||
@ -3061,7 +3061,6 @@ void MacText::processTable(int line) {
|
||||
y += gutter * 2 + 1 + rowH[r];
|
||||
r++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} // End of namespace Graphics
|
||||
|
Loading…
x
Reference in New Issue
Block a user