Make libresrc_getconfig less weird
Originally committed to SVN as r6915.
This commit is contained in:
parent
e99b1aaad4
commit
257e25eb0e
1 changed files with 1 additions and 2 deletions
|
@ -13,6 +13,5 @@ wxIcon libresrc_geticon(const unsigned char *buff, size_t size) {
|
|||
}
|
||||
|
||||
const std::string libresrc_getconfig(const unsigned char *config, size_t size) {
|
||||
std::string str((char*)config, size);
|
||||
return str.c_str();
|
||||
return std::string(reinterpret_cast<const char *>(config), size);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue