summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/editor.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/editor.cxx b/test/editor.cxx
index ba8c8e733..26cd1802a 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -5,7 +5,7 @@
//
// This program is described in Chapter 4 of the FLTK Programmer's Guide.
//
-// Copyright 1998-2010 by Bill Spitzak and others.
+// Copyright 1998-2014 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -805,8 +805,6 @@ Fl_Window* new_view() {
w->editor->highlight_data(stylebuf, styletable,
sizeof(styletable) / sizeof(styletable[0]),
'A', style_unfinished_cb, 0);
- textbuf->text();
- style_init();
w->end();
w->resizable(w->editor);
w->callback((Fl_Callback *)close_cb, w);