From: syo68k Date: Mon, 13 Sep 2010 13:25:03 +0000 (+0000) Subject: 生成する一時ファイル名を拡張子無しとして扱うように変更 X-Git-Tag: Tween_v0.9.6.0~69 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=bec6b9491adb363cc114a41c65ef5265cb763291;p=opentween%2Fopen-tween.git 生成する一時ファイル名を拡張子無しとして扱うように変更 git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@860 e39ad16e-3079-482e-bb30-4b4d378143b6 --- diff --git a/Tween/ImageCacheDictionary.vb b/Tween/ImageCacheDictionary.vb index 1fd0ab5b..b51edcab 100644 --- a/Tween/ImageCacheDictionary.vb +++ b/Tween/ImageCacheDictionary.vb @@ -234,7 +234,7 @@ Public Class ImageCacheDictionary Do Try err = False - tmpFile = Path.Combine(Me.cacheDirectoryPath, Path.GetRandomFileName()) + tmpFile = Path.Combine(Me.cacheDirectoryPath, Path.GetRandomFileName().Remove(8, 1)) Using fs As New FileStream(tmpFile, FileMode.CreateNew, FileAccess.Write) Me.img.Save(fs, Imaging.ImageFormat.Bmp)