Menu

#17 "string iterator not dereferencable"

closed-fixed
None
5
2008-05-29
2008-05-28
God_Mark
No

Error:
"string iterator not dereferencable"

Compiled using: VC2008
Latest svn versions on 8:05 PM 5/28/2008 GMT +2

Index: src/propgrid.cpp

--- src/propgrid.cpp (revision 884)
+++ src/propgrid.cpp (working copy)
@@ -869,7 +869,11 @@

do
{
- a = text[pos];
+ if (pos == lastPos)
+ a = 0;
+ else
+ a = text[pos];
+

if ( tokenStart != 0xFFFFFF )
{

Discussion

  • God_Mark

    God_Mark - 2008-05-28

    Path file

     
  • Jaakko Salli

    Jaakko Salli - 2008-05-29

    Logged In: YES
    user_id=1193883
    Originator: NO

    I think I have fixed this problem in SVN trunk by converting function in question to use string iterator.

    Just let me know if you still have problem with it.

    Thanks,
    Jaakko

     
  • Jaakko Salli

    Jaakko Salli - 2008-05-29
    • assigned_to: nobody --> jmsalli
    • status: open --> closed-fixed
     

Log in to post a comment.