paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/widgets pgprogressbar.cpp,1.4.2.1,1.4.2.2


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgprogressbar.cpp,1.4.2.1,1.4.2.2
Date: Wed, 19 Jun 2002 04:27:27 -0400

Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv7798/src/widgets

Modified Files:
      Tag: devel-opengl
        pgprogressbar.cpp 
Log Message:
fixed crash when trying to blit with surface == NULL



Index: pgprogressbar.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgprogressbar.cpp,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -C2 -r1.4.2.1 -r1.4.2.2
*** pgprogressbar.cpp   18 Jun 2002 22:40:39 -0000      1.4.2.1
--- pgprogressbar.cpp   19 Jun 2002 08:27:24 -0000      1.4.2.2
***************
*** 132,138 ****
  
        GetClipRects(my_src, my_dst, pr);
!       my_srfScreen->BlitSurface(ind, my_src, my_dst);
! 
!       PG_ThemeWidget::DeleteThemedSurface(ind);
  
        if(my_drawPercentage) {
--- 132,140 ----
  
        GetClipRects(my_src, my_dst, pr);
!       
!       if(ind != NULL) {
!               my_srfScreen->BlitSurface(ind, my_src, my_dst);
!               PG_ThemeWidget::DeleteThemedSurface(ind);
!       }
  
        if(my_drawPercentage) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]