From f24f61d3fdfcae50a550f489be755927cc6ef9ae Mon Sep 17 00:00:00 2001 From: lltcggie Date: Sun, 27 Dec 2015 07:24:18 +0900 Subject: [PATCH] =?UTF-8?q?GUI=E3=81=AE=E8=BF=BD=E5=8A=A0=E6=96=87?= =?UTF-8?q?=E5=AD=97=E5=88=97=E3=82=92=E5=BE=8C=E3=82=8D=E3=81=8B=E3=82=89?= =?UTF-8?q?=E6=8E=A2=E3=81=99=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- waifu2x-caffe-gui/Source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waifu2x-caffe-gui/Source.cpp b/waifu2x-caffe-gui/Source.cpp index 7acc5b7..4f16239 100644 --- a/waifu2x-caffe-gui/Source.cpp +++ b/waifu2x-caffe-gui/Source.cpp @@ -615,7 +615,7 @@ private: if (stem.length() > 0 && stem.length() >= autoSetAddName.length()) { - const auto pos = stem.find(autoSetAddName); + const auto pos = stem.rfind(autoSetAddName); if (pos != tstring::npos) { const tstring addstr(AddName());