diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-03-28 21:12:54 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-03-28 21:12:54 +0000 |
| commit | af10e22140f34e25508a040820f8725df5e1c19d (patch) | |
| tree | 77f436c647dac183e3cf9b10ce0fdb6f5e8b7b5a | |
| parent | 119f78bee091847254ee3572129b329db8558fb2 (diff) | |
Made fluid compile under VicualC6 again. Unfortunatly , the wonderful 'print' addition crashes in fl_color_win32.cxx, line 72.
Fixed a silly 'I have a great idea - wait - what was it again'-bug that would use a static buffer twice - although without causing any bugs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | fluid/fluid.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_Preferences.cxx | 2 | ||||
| -rw-r--r-- | visualc/fltk.lib.dsp | 4 | ||||
| -rw-r--r-- | visualc/fluid.dsp | 14 |
4 files changed, 15 insertions, 7 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 77230f544..461205003 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1083,7 +1083,7 @@ void print_menu_cb(Fl_Widget *, void *) { EndDoc(dialog.hDC); fl_gc = save_dc; - fl_window = save_window; + fl_window = save_win; fl_pop_clip(); // Free the print DC and return... diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx index 54d55c8dc..18a66bfee 100644 --- a/src/Fl_Preferences.cxx +++ b/src/Fl_Preferences.cxx @@ -883,7 +883,7 @@ Fl_Preferences::Node *Fl_Preferences::Node::addChild( const char *path ) { sprintf( nameBuffer, "%s/%s", path_, path ); char *name = strdup( nameBuffer ); - Node *nd = find( nameBuffer ); + Node *nd = find( name ); free( name ); dirty_ = 1; return nd; diff --git a/visualc/fltk.lib.dsp b/visualc/fltk.lib.dsp index 7f7b3ab29..5b3f029f0 100644 --- a/visualc/fltk.lib.dsp +++ b/visualc/fltk.lib.dsp @@ -407,6 +407,10 @@ SOURCE=..\src\Fl_Progress.cxx # End Source File
# Begin Source File
+SOURCE=..\src\fl_read_image.cxx
+# End Source File
+# Begin Source File
+
SOURCE=..\src\fl_rect.cxx
# End Source File
# Begin Source File
diff --git a/visualc/fluid.dsp b/visualc/fluid.dsp index b16f37044..b62ceef3e 100644 --- a/visualc/fluid.dsp +++ b/visualc/fluid.dsp @@ -43,7 +43,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /GX /Ot /Op /Ob2 /I "." /I ".." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c
+# ADD CPP /nologo /MD /GX /Ot /Op /Ob2 /I "." /I ".." /I "../png" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c
# SUBTRACT CPP /Os
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
@@ -71,7 +71,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /Gm /GX /ZI /Od /I "." /I ".." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c
+# ADD CPP /nologo /MDd /Gm /GX /ZI /Od /I "." /I ".." /I "../png" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
@@ -108,6 +108,10 @@ SOURCE=..\fluid\code.cxx # End Source File
# Begin Source File
+SOURCE=..\fluid\CodeEditor.cxx
+# End Source File
+# Begin Source File
+
SOURCE=..\fluid\factory.cxx
# End Source File
# Begin Source File
@@ -152,15 +156,15 @@ SOURCE=..\fluid\function_panel.cxx # End Source File
# Begin Source File
-SOURCE=..\fluid\undo.cxx
+SOURCE=..\fluid\template_panel.cxx
# End Source File
# Begin Source File
-SOURCE=..\fluid\widget_panel.cxx
+SOURCE=..\fluid\undo.cxx
# End Source File
# Begin Source File
-SOURCE=..\fluid\CodeEditor.cxx
+SOURCE=..\fluid\widget_panel.cxx
# End Source File
# End Target
# End Project
|
