Fixed typo.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2011-01-02 14:50:39 +00:00
parent 37002c6155
commit 0cf4899e78
1 changed files with 6 additions and 6 deletions

View File

@ -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();
}