Update of /cvsroot/radmind/radmind-assistant/rte
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1122
Modified Files:
RXTranscript.m
Log Message:
Fix: Transcript Editor crashes on save (bug #1459693)
Index: RXTranscript.m
===================================================================
RCS file: /cvsroot/radmind/radmind-assistant/rte/RXTranscript.m,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -d -r1.105 -r1.106
*** RXTranscript.m 27 Mar 2006 16:15:30 -0000 1.105
--- RXTranscript.m 28 Mar 2006 02:45:00 -0000 1.106
***************
*** 2466,2476 ****
d = nil;
! if ( i % ( int )increment == 0 ) {
! [ loadProgressIndicator setDoubleValue: ( double )pct ];
! [ loadProgressIndicator displayIfNeeded ];
! [ poole release ];
! poole = [[ NSAutoreleasePool alloc ] init ];
! pct += 5;
! }
}
[ poole release ];
--- 2466,2478 ----
d = nil;
! if (( int )increment > 0 ) {
! if ( i % ( int )increment == 0 ) {
! [ loadProgressIndicator setDoubleValue: ( double )pct ];
! [ loadProgressIndicator displayIfNeeded ];
! [ poole release ];
! poole = [[ NSAutoreleasePool alloc ] init ];
! pct += 5;
! }
! }
}
[ poole release ];
|