mirror of
https://github.com/lltcggie/waifu2x-caffe.git
synced 2025-06-26 13:42:48 +00:00
GUIの追加文字列を後ろから探すようにした
This commit is contained in:
parent
3e72ce6f47
commit
f24f61d3fd
@ -615,7 +615,7 @@ private:
|
|||||||
|
|
||||||
if (stem.length() > 0 && stem.length() >= autoSetAddName.length())
|
if (stem.length() > 0 && stem.length() >= autoSetAddName.length())
|
||||||
{
|
{
|
||||||
const auto pos = stem.find(autoSetAddName);
|
const auto pos = stem.rfind(autoSetAddName);
|
||||||
if (pos != tstring::npos)
|
if (pos != tstring::npos)
|
||||||
{
|
{
|
||||||
const tstring addstr(AddName());
|
const tstring addstr(AddName());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user