const Vector<LineRun>& lines = visualModel->mLines;
float lineTop = 0.f;
- int lineIndex = -1;
+ int lineIndex = 0;
int high = totalNumberOfLines;
int low = -1;
int guess;
}
}
- // Check if a line is not found; return -1.
- if(lineIndex == -1)
- {
- return -1;
- }
-
// Start searching for the visualX
const LineRun& line = *(visualModel->mLines.Begin() + lineIndex);