[GME-commit] GMESRC/GME/Gme GMEView.cpp,1.142,1.143

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Mon May 10 10:32:28 CDT 2004


Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv32574

Modified Files:
	GMEView.cpp 
Log Message:
panning win refresh improved

CVS User: bogyom

Index: GMEView.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/GMEView.cpp,v
retrieving revision 1.142
retrieving revision 1.143
diff -C2 -d -r1.142 -r1.143
*** GMEView.cpp	7 May 2004 20:58:25 -0000	1.142
--- GMEView.cpp	10 May 2004 14:32:25 -0000	1.143
***************
*** 3216,3220 ****
--- 3216,3230 ----
  {
  	CMDIFrameWnd *pFrame = (CMDIFrameWnd*)AfxGetApp()->m_pMainWnd;
+ 	if (!pFrame)
+ 	{
+ 		ASSERT(0);
+ 		return NULL;
+ 	}
  	CMDIChildWnd *pChild = (CMDIChildWnd *) pFrame->GetActiveFrame();
+ 	if (!pChild)
+ 	{
+ 		ASSERT(0);
+ 		return NULL;
+ 	}
  	return ((CGMEView *)(pChild->GetActiveView()));
  }



More information about the GME-commit mailing list