From 75c9d386faed27812dba5cd3807155fdd9b9898b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 7 Jun 2011 11:41:36 +0000 Subject: Fix STR #2657: repaired indentation error in fluid-output code. Also changed copyright year to 2011. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser.cxx | 44 ++++++++++++++++++++++---------------------- src/Fl_File_Chooser.fl | 2 +- 2 files changed, 23 insertions(+), 23 deletions(-) (limited to 'src') diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 8ef6e15ca..d0f649c80 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -3,7 +3,7 @@ // // Fl_File_Chooser dialog for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2011 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -447,27 +447,27 @@ Fl_Widget* Fl_File_Chooser::add_extra(Fl_Widget* gr) { Fl_Widget* ret=ext_group; if (gr==ext_group) { return ret; - } - if (ext_group) { - int sh=ext_group->h()+4; - Fl_Widget* svres=window->resizable(); - window->resizable(NULL); - window->size(window->w(),window->h()-sh); - window->remove(ext_group); - ext_group=NULL; - window->resizable(svres); - } - if (gr) { - int nh=window->h()+gr->h()+4; - Fl_Widget* svres=window->resizable(); - window->resizable(NULL); - window->size(window->w(),nh); - gr->position(2,okButton->y()+okButton->h()+2); - window->add(gr); - ext_group=gr; - window->resizable(svres); - } - return ret; + } + if (ext_group) { + int sh=ext_group->h()+4; + Fl_Widget* svres=window->resizable(); + window->resizable(NULL); + window->size(window->w(),window->h()-sh); + window->remove(ext_group); + ext_group=NULL; + window->resizable(svres); + } + if (gr) { + int nh=window->h()+gr->h()+4; + Fl_Widget* svres=window->resizable(); + window->resizable(NULL); + window->size(window->w(),nh); + gr->position(2,okButton->y()+okButton->h()+2); + window->add(gr); + ext_group=gr; + window->resizable(svres); + } + return ret; } // diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index c0d14fe3f..34b960675 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -7,7 +7,7 @@ comment {// // // Fl_File_Chooser dialog for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2011 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public -- cgit v1.2.3