Skip to content

Commit

Permalink
ACCESS: Fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke authored and dreammaster committed Dec 13, 2014
1 parent 96cc1e3 commit bacb9ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions engines/access/events.cpp
Expand Up @@ -253,8 +253,7 @@ Common::Point EventsManager::calcRawMouse() {
}

int EventsManager::checkMouseBox1(Common::Array<Common::Rect> &rects) {
int i = 0;
for (i = 0; i < rects.size(); ++i) {
for (uint16 i = 0; i < rects.size(); ++i) {
if (rects[i].left == -1)
return -1;

Expand Down

0 comments on commit bacb9ba

Please sign in to comment.