summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Routley <lifeattickville@gmail.com>2022-02-13 06:40:48 -0500
committerGitHub <noreply@github.com>2022-02-13 12:40:48 +0100
commitf196ffbb528f9ec5030697bc03fb956f79c9563e (patch)
tree36d0c58c59851c57acfbcdfb9c5348aa514ccc4e
parentc9b44064d205a16790eed7e91ba81365b057c8f1 (diff)
Fix documentation error in Fl_Tabs (#391)
-rw-r--r--FL/Fl_Tabs.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Tabs.H b/FL/Fl_Tabs.H
index eadeb8999..cb4e493eb 100644
--- a/FL/Fl_Tabs.H
+++ b/FL/Fl_Tabs.H
@@ -122,7 +122,7 @@
void MyTabCallback(Fl_Widget *w, void*) {
Fl_Tabs *tabs = (Fl_Tabs*)w;
// When tab changed, make sure it has same color as its group
- tabs->selection_color( (tab->value())->color() );
+ tabs->selection_color( (tabs->value())->color() );
}
..
int main(..) {