From 0cf4899e78a7b4ca22b12aaaeac62562a983037d Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 2 Jan 2011 14:50:39 +0000 Subject: Fixed typo. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/fonts.cxx | 12 ++++++------ 1 file 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(); } -- cgit v1.2.3