diff options
author | corvid <corvid@lavabit.com> | 2012-12-07 07:36:35 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-12-07 07:36:35 +0000 |
commit | c0bb803ca951d8fc3021b12cad87afa93e4c8dc5 (patch) | |
tree | e0f41dc13083bbfa1dc96de57c295a2cc2dc2a24 | |
parent | f904aca3461abba7c27be878e9eb04abb38305bd (diff) |
fltk1.3-ify wrap_mode call
I suspect it's just chance that the fltk2-style arguments worked.
-rw-r--r-- | src/dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.cc b/src/dialog.cc index 6a8fd071..3458adc2 100644 --- a/src/dialog.cc +++ b/src/dialog.cc @@ -298,7 +298,7 @@ void a_Dialog_text_window(const char *txt, const char *title) td->textsize((int) rint(14.0 * prefs.font_factor)); /* enable wrapping lines; text uses entire width of window */ - td->wrap_mode(true, false); + td->wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0); window->add(td); Fl_Return_Button *b = new Fl_Return_Button (0, wh-bh, ww, bh, "Close"); |