[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: adonthell/src dialog.cc,1.34,1.35
From: |
Kai Sterker <address@hidden> |
Subject: |
[Adonthell-commits] CVS: adonthell/src dialog.cc,1.34,1.35 |
Date: |
Sun, 20 Apr 2003 17:35:45 -0400 |
Update of /cvsroot/adonthell/adonthell/src
In directory subversions:/tmp/cvs-serv24661
Modified Files:
dialog.cc
Log Message:
FIXED [ Bug #3262 ] iterator pointing to nowhere
Index: dialog.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/dialog.cc,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** dialog.cc 17 Feb 2003 19:31:21 -0000 1.34
--- dialog.cc 20 Apr 2003 21:35:42 -0000 1.35
***************
*** 187,192 ****
// check if some text is left at all
size = PyList_Size (speech);
! if (size == 0) return;
!
// prepare the random number generator
yarg::range (0, size - 1);
--- 187,196 ----
// check if some text is left at all
size = PyList_Size (speech);
! if (size == 0)
! {
! i_text = text_.begin ();
! return;
! }
!
// prepare the random number generator
yarg::range (0, size - 1);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: adonthell/src dialog.cc,1.34,1.35,
Kai Sterker <address@hidden> <=