From 563109f411a516db5a84d23cb2de1d6f820660ec Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 3 May 2007 07:56:32 +0000 Subject: [PATCH] Modification for Win32 version. --- src/GEOMGUI/GEOM_Displayer.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index d13170019..b0fd38adc 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -1214,6 +1214,8 @@ int GEOM_Displayer::GetDisplayMode() const int GEOM_Displayer::UnsetDisplayMode() { + int aPrevMode = myDisplayMode; SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr(); myDisplayMode = resMgr->integerValue( "Geometry", "display_mode", 0 ); + return aPrevMode; } -- 2.39.2