aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-07-11 11:17:48 +1000
committernyamatongwe <devnull@localhost>2011-07-11 11:17:48 +1000
commitf6b5bf967bf310adb21269fc9b9c50801e7e4193 (patch)
tree1cd8a344b37005c4c9ebb983f6b8eec961069353 /src/Document.h
parentae26c58db7902ce285311ff874890ad0da05e7fb (diff)
downloadscintilla-mirror-f6b5bf967bf310adb21269fc9b9c50801e7e4193.tar.gz
Avoid shadowing of fields even for static methods to stop warnings.
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h
index e8dfbabc8..00d23a45d 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -303,7 +303,7 @@ public:
int GetColumn(int position);
int FindColumn(int line, int column);
void Indent(bool forwards, int lineBottom, int lineTop);
- static char *TransformLineEnds(int *pLenOut, const char *s, size_t len, int eolMode);
+ static char *TransformLineEnds(int *pLenOut, const char *s, size_t len, int eolModeWanted);
void ConvertLineEnds(int eolModeSet);
void SetReadOnly(bool set) { cb.SetReadOnly(set); }
bool IsReadOnly() { return cb.IsReadOnly(); }