diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-28 17:48:04 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-28 17:48:04 +0000 |
| commit | 671ef36117d2150c0488e88cfd439e857a88196c (patch) | |
| tree | 079309202970a694f6f84b37fab03ad369acdbd0 /src/Fl_Text_Buffer.cxx | |
| parent | 8a275b298512340b846ff849b861be214a2def40 (diff) | |
Fix MacOS X 10.4 compile issues.
configure.in:
- 10.4 doesn't include libsupc++.a, so we need to use g++ when compiling.
src/Fl_Help_View.cxx:
- Fl_Help_View::format_table(): missing initialization of font and fsize.
src/Fl_Text_Buffer.cxx:
- Fl_Text_Buffer::remove_rectangle(): missing initialization of endOffset.
src/Fl_Gl_Window.cxx:
- Fl_Gl_Window::flush(): use 0xff instead of ~0 for clear_damage() call.
test/keyboard.cxx:
- Apparently unnamed structs are not supported by Apple's GCC 4.0...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Buffer.cxx')
| -rw-r--r-- | src/Fl_Text_Buffer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx index 93f60276e..7495be19a 100644 --- a/src/Fl_Text_Buffer.cxx +++ b/src/Fl_Text_Buffer.cxx @@ -1540,6 +1540,7 @@ void Fl_Text_Buffer::remove_rectangular_( int start, int end, int rectStart, the text between rectStart and rectEnd and padding appropriately */ lineStart = start; outPtr = outStr; + endOffset = 0; while ( lineStart <= mLength && lineStart <= end ) { lineEnd = line_end( lineStart ); line = text_range( lineStart, lineEnd ); |
