svnno****@sourc*****
svnno****@sourc*****
2009年 3月 26日 (木) 18:48:33 JST
Revision: 3238 http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3238 Author: yutakapon Date: 2009-03-26 18:48:33 +0900 (Thu, 26 Mar 2009) Log Message: ----------- SVNバージョン取得できなかったので、修正した。 Modified Paths: -------------- trunk/teraterm/svnrev/svnrev.cpp Modified: trunk/teraterm/svnrev/svnrev.cpp =================================================================== --- trunk/teraterm/svnrev/svnrev.cpp 2009-03-26 08:41:53 UTC (rev 3237) +++ trunk/teraterm/svnrev/svnrev.cpp 2009-03-26 09:48:33 UTC (rev 3238) @@ -37,7 +37,7 @@ csf.ReadString(cs); format = atoi(cs); - if (format == 8 || format == 9 || format == 9) { + if (format == 8 || format == 9 || format == 10) { // skip line 2 name, 3 kind csf.ReadString(cs); csf.ReadString(cs); @@ -51,7 +51,7 @@ } } - if (nRetCode == 0) { + if (revision > 0) { printf("#define SVNVERSION %d", revision); } else {