From 886261af3317210bfc45129954eab1afd78fcc91 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 2 Sep 2002 10:41:51 +0000 Subject: [PATCH] fl_register_images() was already getting called (two lines above), and needs to be before the make_main_window() call to load the file icons. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/fluid.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 4e70ed345..5790f61ae 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1,5 +1,5 @@ // -// "$Id: fluid.cxx,v 1.15.2.13.2.32 2002/09/02 04:33:10 spitzak Exp $" +// "$Id: fluid.cxx,v 1.15.2.13.2.33 2002/09/02 10:41:51 easysw Exp $" // // FLUID main entry for the Fast Light Tool Kit (FLTK). // @@ -766,7 +766,7 @@ int main(int argc,char **argv) { fl_register_images(); make_main_window(); - fl_register_images(); + if (c) set_filename(c); if (!compile_only) { Fl::visual((Fl_Mode)(FL_DOUBLE|FL_INDEX)); @@ -801,5 +801,5 @@ int main(int argc,char **argv) { } // -// End of "$Id: fluid.cxx,v 1.15.2.13.2.32 2002/09/02 04:33:10 spitzak Exp $". +// End of "$Id: fluid.cxx,v 1.15.2.13.2.33 2002/09/02 10:41:51 easysw Exp $". //