diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-07 17:28:01 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-07 17:28:01 +1000 |
commit | b9b6ef0c4617d99774df4b46c853469ef62cd7c1 (patch) | |
tree | c904443e3d9c224d9dd9d1fbf3ad847d06f73ee0 /src/Editor.cxx | |
parent | 32ae171da032fbdcfc94405877a49e1d3e3b0abb (diff) | |
download | scintilla-mirror-b9b6ef0c4617d99774df4b46c853469ef62cd7c1.tar.gz |
Use same parameter names in declarations and definitions.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 6a6e7c7d7..4335e6386 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1627,18 +1627,18 @@ void Editor::LinesSplit(int pixelWidth) { } } -void Editor::PaintSelMargin(Surface *surfWindow, PRectangle &rc) { +void Editor::PaintSelMargin(Surface *surfaceWindow, PRectangle &rc) { if (vs.fixedColumnWidth == 0) return; AllocateGraphics(); RefreshStyleData(); - RefreshPixMaps(surfWindow); + RefreshPixMaps(surfaceWindow); // On GTK+ with Ubuntu overlay scroll bars, the surface may have been finished // at this point. The Initialised call checks for this case and sets the status // to be bad which avoids crashes in following calls. - if (!surfWindow->Initialised()) { + if (!surfaceWindow->Initialised()) { return; } @@ -1655,7 +1655,7 @@ void Editor::PaintSelMargin(Surface *surfWindow, PRectangle &rc) { if (view.bufferedDraw) { surface = marginView.pixmapSelMargin; } else { - surface = surfWindow; + surface = surfaceWindow; } // Clip vertically to paint area to avoid drawing line numbers @@ -1667,7 +1667,7 @@ void Editor::PaintSelMargin(Surface *surfWindow, PRectangle &rc) { marginView.PaintMargin(surface, topLine, rc, rcMargin, *this, vs); if (view.bufferedDraw) { - surfWindow->Copy(rcMargin, Point(rcMargin.left, rcMargin.top), *marginView.pixmapSelMargin); + surfaceWindow->Copy(rcMargin, Point(rcMargin.left, rcMargin.top), *marginView.pixmapSelMargin); } } |