diff options
Diffstat (limited to 'graphics/macgui/mactextwindow.cpp')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 5f3d01e25f..6fc9cabf6a 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -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); |