mirror of https://github.com/odrling/Aegisub
Make libresrc_getconfig less weird
Originally committed to SVN as r6915.
This commit is contained in:
parent
e99b1aaad4
commit
257e25eb0e
|
@ -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) {
|
const std::string libresrc_getconfig(const unsigned char *config, size_t size) {
|
||||||
std::string str((char*)config, size);
|
return std::string(reinterpret_cast<const char *>(config), size);
|
||||||
return str.c_str();
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue