CEGUI::String bug

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

User avatar
core
Just popping in
Just popping in
Posts: 6
Joined: Wed Oct 26, 2005 16:40

CEGUI::String bug

Postby core » Wed Oct 26, 2005 18:06

in CEGUI 0.4.0

Code: Select all

String& assign(size_type num, utf32 code_point)
{
    if (num == npos)
        throw std::length_error("Code point count can not be 'npos'");
    grow(num);
    setlen(num);
    utf32* p = ptr();
    while(num--)
        *p = code_point;
    return *this;
}


must be

Code: Select all

*p[b]++[/b] = code_point;

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: CEGUI::String bug

Postby CrazyEddie » Thu Oct 27, 2005 12:29

This is fixed in v0-4 and head branches; allow 24 hours for anonymous access to sync.

Thanks :hammer:

CE


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests