paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/src/widgets pgrichedit.cpp,1.6,1.7


From: Eric Ross <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pgrichedit.cpp,1.6,1.7
Date: Thu, 12 Sep 2002 02:33:44 -0400

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

Modified Files:
        pgrichedit.cpp 
Log Message:
In ParseWords, moved the declaration of the current word inside the loop to 
ensure that it's empty every time.


Index: pgrichedit.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pgrichedit.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** pgrichedit.cpp      18 Aug 2002 08:12:53 -0000      1.6
--- pgrichedit.cpp      12 Sep 2002 06:33:42 -0000      1.7
***************
*** 114,118 ****
  void PG_RichEdit::ParseWords() {
        size_t searchFrom = 0;
-       std::string word;
  
        my_ParsedWords.clear();
--- 114,117 ----
***************
*** 123,126 ****
--- 122,126 ----
                int bl, ls;
                bool space = false;
+               std::string word;
  
                searchFrom = GetWord(searchFrom, &word, &wordDescr.my_EndMark);





reply via email to

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