From f6b5bf967bf310adb21269fc9b9c50801e7e4193 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 11 Jul 2011 11:17:48 +1000 Subject: Avoid shadowing of fields even for static methods to stop warnings. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') 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(); } -- cgit v1.2.3