summaryrefslogtreecommitdiff
path: root/src/fl_show_colormap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_show_colormap.cxx')
-rw-r--r--src/fl_show_colormap.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fl_show_colormap.cxx b/src/fl_show_colormap.cxx
index c446fa33d..a2b0f028c 100644
--- a/src/fl_show_colormap.cxx
+++ b/src/fl_show_colormap.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_show_colormap.cxx,v 1.5.2.1 2000/04/25 22:16:45 mike Exp $"
+// "$Id: fl_show_colormap.cxx,v 1.5.2.2 2000/06/03 08:37:09 bill Exp $"
//
// Colormap color selection dialog for the Fast Light Tool Kit (FLTK).
//
@@ -126,6 +126,9 @@ int ColorMenu::handle(int e) {
extern char fl_override_redirect; // hack for menus
+#ifdef _MSC_VER
+#pragma optimize("a",off) // needed to get the done check to work
+#endif
Fl_Color ColorMenu::run() {
if (which < 0 || which > 255) {
position(Fl::event_x_root()-w()/2, Fl::event_y_root()-y()/2);
@@ -147,5 +150,5 @@ Fl_Color fl_show_colormap(Fl_Color oldcol) {
}
//
-// End of "$Id: fl_show_colormap.cxx,v 1.5.2.1 2000/04/25 22:16:45 mike Exp $".
+// End of "$Id: fl_show_colormap.cxx,v 1.5.2.2 2000/06/03 08:37:09 bill Exp $".
//