mirror of https://github.com/stella-emu/stella.git
Fix minor compile warning in g++.
This commit is contained in:
parent
2998131b74
commit
a9e63c1349
|
@ -252,7 +252,7 @@ void RomImageWidget::handleMouseUp(int x, int y, MouseButton b, int clickCount)
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void RomImageWidget::handleMouseMoved(int x, int y)
|
void RomImageWidget::handleMouseMoved(int x, int y)
|
||||||
{
|
{
|
||||||
if(x < _w / 2 != myMouseLeft)
|
if((x < _w / 2) != myMouseLeft)
|
||||||
setDirty();
|
setDirty();
|
||||||
myMouseLeft = x < _w / 2;
|
myMouseLeft = x < _w / 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue