diff options
| -rw-r--r-- | documentation/Doxyfile | 2 | ||||
| -rw-r--r-- | src/Fl_Text_Display.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/documentation/Doxyfile b/documentation/Doxyfile index 1d9b06846..6472c7833 100644 --- a/documentation/Doxyfile +++ b/documentation/Doxyfile @@ -1282,7 +1282,7 @@ TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. -GENERATE_TAGFILE = +GENERATE_TAGFILE = fltk.tags # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index e6151d4a3..829883883 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -606,6 +606,7 @@ void Fl_Text_Display::insert_position( int newPos ) { */ void Fl_Text_Display::show_cursor(int b) { mCursorOn = b; + if (!buffer()) return; redisplay_range(buffer()->prev_char_clipped(mCursorPos), buffer()->next_char(mCursorPos)); } |
