diff options
| -rw-r--r-- | test/fonts.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fonts.cxx b/test/fonts.cxx index 2cd479f24..0543463ae 100644 --- a/test/fonts.cxx +++ b/test/fonts.cxx @@ -107,7 +107,7 @@ void size_cb(Fl_Widget *, long) { char label[0x1000]; void create_the_forms() { - // Cerate the sample string + // create the sample string int n = 0; strcpy(label, "Hello, world!\n"); int i = strlen(label); @@ -123,12 +123,12 @@ void create_the_forms() { i += fl_utf8encode((unsigned int)c, label + i); } label[i] = 0; - + // create the basic layout form = new Fl_Double_Window(550,370); tile = new Fl_Tile(0, 0, 550, 370); - + Fl_Group *textgroup = new Fl_Group(0, 0, 550, 185); textgroup->box(FL_FLAT_BOX); textobj = new FontDisplay(FL_FRAME_BOX,10,10,530,170,label); @@ -136,7 +136,7 @@ void create_the_forms() { textobj->color(9,47); textgroup->resizable(textobj); textgroup->end(); - + Fl_Group *fontgroup = new Fl_Group(0, 185, 550, 185); fontgroup->box(FL_FLAT_BOX); fontobj = new Fl_Hold_Browser(10, 190, 390, 170); @@ -149,9 +149,9 @@ void create_the_forms() { sizeobj->callback(size_cb); fontgroup->resizable(fontobj); fontgroup->end(); - + tile->end(); - + form->resizable(tile); form->end(); } |
