Small Bug In OptionsWnd.cpp

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
User avatar
strooka
Space Kraken
Posts: 165
Joined: Tue Jun 23, 2009 5:34 pm
Location: Bielefeld, Germany

Small Bug In OptionsWnd.cpp

#1 Post by strooka »

I havent yet the Code Ready, but fo could Crash in the OptionsWnd.
within Here:

Code: Select all

template<>
OptionFunctor<std::string>
...
OptionFunctor (...CUIEdit* edit w= 0...
...
edit->SetColor(...
There is à Default Argument for the edit which is initialized with 0 thus resulting in à Crash, if the edit is Not specified.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Small Bug In OptionsWnd.cpp

#2 Post by Geoff the Medio »

Fixed in SVN.

Post Reply