diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-22 22:38:55 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-22 22:38:55 +0000 |
| commit | 1c38a0f2f7187322959e8ff165ae4d891acf9cae (patch) | |
| tree | 035a30a0d129be6eac01542a6bf59b2da07841e2 /FL/Fl_Tooltip.H | |
| parent | 00710928d41755a31c2c7a97c7bfea368032ac6f (diff) | |
Tweaks to silence more MS compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Tooltip.H')
| -rw-r--r-- | FL/Fl_Tooltip.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Tooltip.H b/FL/Fl_Tooltip.H index 33b69cb6a..ef7633c7f 100644 --- a/FL/Fl_Tooltip.H +++ b/FL/Fl_Tooltip.H @@ -57,7 +57,7 @@ public: /** Returns non-zero if tooltips are enabled. */ static int enabled() { return Fl::option(Fl::OPTION_SHOW_TOOLTIPS); } /** Enables tooltips on all widgets (or disables if <i>b</i> is false). */ - static void enable(int b = 1) { Fl::option(Fl::OPTION_SHOW_TOOLTIPS, b);} + static void enable(int b = 1) { Fl::option(Fl::OPTION_SHOW_TOOLTIPS, (b!=0));} /** Same as enable(0), disables tooltips on all widgets. */ static void disable() { enable(0); } static void (*enter)(Fl_Widget* w); |
