Fixes incorrect return value of FString::toString()
This commit is contained in:
parent
784afc5a07
commit
34961037f8
|
@ -1,6 +1,7 @@
|
||||||
2017-02-24 Markus Gans <guru.mail@muenster.de>
|
2017-02-24 Markus Gans <guru.mail@muenster.de>
|
||||||
* FListBox gets the option to save a data pointer for
|
* FListBox gets the option to save a data pointer for
|
||||||
every FListBoxItem element
|
every FListBoxItem element
|
||||||
|
* Fixes incorrect return value of FString::toString()
|
||||||
|
|
||||||
2017-02-19 Markus Gans <guru.mail@muenster.de>
|
2017-02-19 Markus Gans <guru.mail@muenster.de>
|
||||||
* New FWidget methods setMinimumWidth(), setMinimumHeight(),
|
* New FWidget methods setMinimumWidth(), setMinimumHeight(),
|
||||||
|
|
|
@ -569,7 +569,7 @@ const char* FString::c_str() const
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
const std::string FString::toString() const
|
const std::string FString::toString() const
|
||||||
{
|
{
|
||||||
return std::string(c_str(), length+1);
|
return std::string(c_str(), length);
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue