summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-09-02 10:41:51 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-09-02 10:41:51 +0000
commit886261af3317210bfc45129954eab1afd78fcc91 (patch)
treed94d319fffd3bf80d12f8d5f6a8999ef922eca27
parent13dfd24a5790b5cc18901d78d4fb132cf4d10844 (diff)
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
-rw-r--r--fluid/fluid.cxx6
1 files 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 $".
//