summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Widget_Type.cxx2
-rw-r--r--fluid/file.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index 9ea39fcfe..d991740a5 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -2482,7 +2482,7 @@ void Fl_Widget_Type::read_property(const char *c) {
((Fl_Button*)o)->value(atoi(value));
} else if (!strcmp(c,"color")) {
int n = sscanf(read_word(),"%d %d",&x,&y);
- if (n == 2) { // back compatability...
+ if (n == 2) { // back compatibility...
if (x != 47) o->color(x);
o->selection_color(y);
} else {
diff --git a/fluid/file.cxx b/fluid/file.cxx
index f8bff43b2..8009d91af 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -393,7 +393,7 @@ static void read_children(Fl_Type *p, int paste) {
continue;
}
- // back compatability with Vincent Penne's original class code:
+ // back compatibility with Vincent Penne's original class code:
if (!p && !strcmp(c,"define_in_struct")) {
Fl_Type *t = Fl_Type_make("class");
t->name(read_word());