CEGUI Logo
This issue tracker is now in read-only mode. We migrated all our old bug reports to our bitbucket issue tracker
Please use our new issue tracker to report bugs. You can easily find all mantis tickets on our new issue tracker by selecting the appropriate bitbucket repo (CEGUI/CEED/Silly) and searching for the mantis ticket ID number.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000377CEGUICore library (CEGUIBase)public2010-07-01 10:422010-08-02 08:57
ReporterTimo 
Assigned ToCrazyEddie 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product VersionMercurial: default branch 
Target VersionFixed in VersionMercurial: default branch 
Summary0000377: String::replace() doesn't work when iter_beg==iter_end
DescriptionThe function calls erase() if the begin and end iterators of the replaced range are identical:

if (iter_beg == iter_end)
{
    erase(safe_iter_dif(iter_beg, begin()), safe_iter_dif(iter_end, iter_beg));
}

Instead of this it should test the iterators of the NEW string:

if (iter_newBeg == iter_newEnd)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000472)
CrazyEddie (administrator)
2010-08-02 08:57

Fixed in branches/v0-7 r2574. Thanks :)

- Issue History
Date Modified Username Field Change
2010-07-01 10:42 Timo New Issue
2010-07-01 18:27 CrazyEddie Status new => assigned
2010-07-01 18:27 CrazyEddie Assigned To => CrazyEddie
2010-08-02 08:57 CrazyEddie Note Added: 0000472
2010-08-02 08:57 CrazyEddie Status assigned => resolved
2010-08-02 08:57 CrazyEddie Fixed in Version 0.8.3 => Mercurial: default branch
2010-08-02 08:57 CrazyEddie Resolution open => fixed
Get Crazy Eddies GUI System at SourceForge.net. Fast, secure and Free Open Source software downloads


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker