Fixed compiler warnings

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2010-08-24 08:16:54 +00:00
parent 9f1fdb0887
commit a493692f01

View File

@ -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();