From a19476c85baeb59b4533045debc3f088abd8323e Mon Sep 17 00:00:00 2001 From: syo68k Date: Fri, 10 Dec 2010 17:13:54 +0000 Subject: [PATCH] =?utf8?q?ContextMenuUserPicture=E3=81=AE=E3=82=A2?= =?utf8?q?=E3=82=A4=E3=82=B3=E3=83=B3=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?utf8?q?=E5=90=8D=E8=A1=A8=E7=A4=BA=E3=81=A7=E6=8B=A1=E5=BC=B5=E5=AD=90?= =?utf8?q?=E3=82=82=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?utf8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@1197 e39ad16e-3079-482e-bb30-4b4d378143b6 --- Tween/Tween.vb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tween/Tween.vb b/Tween/Tween.vb index 5c5bc18b..1961a6b9 100644 --- a/Tween/Tween.vb +++ b/Tween/Tween.vb @@ -7552,9 +7552,9 @@ RETRY: If name IsNot Nothing AndAlso name.Length > 0 Then Dim idx As Integer = name.LastIndexOf("/"c) If idx <> -1 Then - name = IO.Path.GetFileNameWithoutExtension(name.Substring(idx)) - If name.EndsWith("_normal", StringComparison.OrdinalIgnoreCase) Then - name = name.Substring(0, name.Length - 7) ' "_normal".Length + name = IO.Path.GetFileName(name.Substring(idx)) + If name.Contains("_normal.") Then + name = name.Replace("_normal", "") Me.IconNameToolStripMenuItem.Text = name Me.IconNameToolStripMenuItem.Enabled = True Else -- 2.11.0