GRAPHICS: MACGUI: Fix GCC Compiler Warnings.
This commit is contained in:
parent
3c947754ac
commit
fbd1e87824
1 changed files with 2 additions and 2 deletions
|
@ -324,8 +324,8 @@ bool MacTextWindow::processEvent(Common::Event &event) {
|
||||||
|
|
||||||
bool cutAllowed = false;
|
bool cutAllowed = false;
|
||||||
|
|
||||||
if (_selectedText.startRow >= _mactext->getLineCount() - _inputTextHeight &&
|
if (_selectedText.startRow >= (int)(_mactext->getLineCount() - _inputTextHeight) &&
|
||||||
_selectedText.endRow >= _mactext->getLineCount() - _inputTextHeight)
|
_selectedText.endRow >= (int)(_mactext->getLineCount() - _inputTextHeight))
|
||||||
cutAllowed = true;
|
cutAllowed = true;
|
||||||
|
|
||||||
_menu->enableCommand("Edit", "Cut", cutAllowed);
|
_menu->enableCommand("Edit", "Cut", cutAllowed);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue