diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-12-08 12:15:48 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-12-08 12:15:48 +0000 |
| commit | f90c190a8e42c65d26dcbf889801cfe1e42c5dab (patch) | |
| tree | 7f0360e4cd94cfc13183d43b8e9d7d42f132d530 /src/Fl_Text_Display.cxx | |
| parent | 3105ab9de50b8e0b3fb59942e867f26c16ab5a03 (diff) | |
Fixed some compiler warnings, most of them in Windows-specific code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Display.cxx')
| -rw-r--r-- | src/Fl_Text_Display.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index c55a0d17c..f4dfef050 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -1417,7 +1417,7 @@ void Fl_Text_Display::buffer_modified_cb( int pos, int nInserted, int nDeleted, Fl_Text_Buffer *buf = textD->mBuffer; int oldFirstChar = textD->mFirstChar; int scrolled, origCursorPos = textD->mCursorPos; - int wrapModStart, wrapModEnd; + int wrapModStart = 0, wrapModEnd = 0; IS_UTF8_ALIGNED2(buf, pos) IS_UTF8_ALIGNED2(buf, oldFirstChar) |
