summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-02 14:50:39 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-02 14:50:39 +0000
commit0cf4899e78a7b4ca22b12aaaeac62562a983037d (patch)
treef3a74c0434ce50b4e67ba4341559a8ea6ab00f5b /test
parent37002c61558ab939a95c3e28e31ca4ec214590b7 (diff)
Fixed typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/fonts.cxx12
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();
}