mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-23 01:44:22 +00:00
(Compiler warning fix)
This commit is contained in:
parent
e1a5274504
commit
2d7cf92ad9
1 changed files with 3 additions and 3 deletions
|
|
@ -313,13 +313,13 @@ public:
|
|||
ga.draw (g);
|
||||
}
|
||||
|
||||
void documentChanged (CodeDocument& doc, int firstLineOnScreen)
|
||||
void documentChanged (CodeDocument& doc, int newFirstLine)
|
||||
{
|
||||
const int newNumLines = doc.getNumLines();
|
||||
|
||||
if (newNumLines != lastNumLines || firstLineOnScreen != firstLine)
|
||||
if (newNumLines != lastNumLines || firstLine != newFirstLine)
|
||||
{
|
||||
firstLine = firstLineOnScreen;
|
||||
firstLine = newFirstLine;
|
||||
lastNumLines = newNumLines;
|
||||
repaint();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue