diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-08-24 08:16:54 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-08-24 08:16:54 +0000 |
| commit | a493692f017f4d22781c4c4c919861cfa1ac8979 (patch) | |
| tree | 30fd4095fae349ec2f343e0a58bf8ca0bcb77734 | |
| parent | 9f1fdb08878f5eb122339372f4e383f716f28009 (diff) | |
Fixed compiler warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Group.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 8f02fcf46..46de470e4 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -600,7 +600,7 @@ void Fl_Group::resize(int X, int Y, int W, int H) { Fl_Widget::resize(X,Y,W,H); // make new xywh values visible for children - if (!resizable() || dw==0 && dh==0 ) { + if (!resizable() || (dw==0 && dh==0) ) { if (type() < FL_WINDOW) { Fl_Widget*const* a = array(); @@ -740,7 +740,7 @@ void Fl_Group::draw_outside_label(const Fl_Widget& widget) const { // skip any labels that are inside the widget: if (!(widget.align()&15) || (widget.align() & FL_ALIGN_INSIDE)) return; // invent a box that is outside the widget: - int a = widget.align(); + Fl_Align a = widget.align(); int X = widget.x(); int Y = widget.y(); int W = widget.w(); |
