cast fix, hopefully this helps PalmOS
svn-id: r16201
This commit is contained in:
parent
179e70ea9c
commit
c6065d450f
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ void AboutDialog::drawDialog() {
|
|||
// Draw text
|
||||
// TODO: Add a "fade" effect for the top/bottom text lines
|
||||
const int firstLine = _scrollPos / _lineHeight;
|
||||
const int lastLine = MIN((uint)(_scrollPos + _h) / _lineHeight + 1, _lines.size());
|
||||
const int lastLine = MIN((_scrollPos + _h) / _lineHeight + 1, (uint32)_lines.size());
|
||||
int y = _y + kYOff - (_scrollPos % _lineHeight);
|
||||
|
||||
for (int line = firstLine; line < lastLine; line++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue