mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
GRAPHICS: MACGUI: Fix GCC Compiler Warnings.
This commit is contained in:
parent
3c947754ac
commit
fbd1e87824
@ -324,8 +324,8 @@ bool MacTextWindow::processEvent(Common::Event &event) {
|
||||
|
||||
bool cutAllowed = false;
|
||||
|
||||
if (_selectedText.startRow >= _mactext->getLineCount() - _inputTextHeight &&
|
||||
_selectedText.endRow >= _mactext->getLineCount() - _inputTextHeight)
|
||||
if (_selectedText.startRow >= (int)(_mactext->getLineCount() - _inputTextHeight) &&
|
||||
_selectedText.endRow >= (int)(_mactext->getLineCount() - _inputTextHeight))
|
||||
cutAllowed = true;
|
||||
|
||||
_menu->enableCommand("Edit", "Cut", cutAllowed);
|
||||
|
Loading…
Reference in New Issue
Block a user