[ttssh2-commit] [9989] VS2005でビルドできるよう修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 6月 4日 (土) 22:17:22 JST


Revision: 9989
          https://osdn.net/projects/ttssh2/scm/svn/commits/9989
Author:   zmatsuo
Date:     2022-06-04 22:17:22 +0900 (Sat, 04 Jun 2022)
Log Message:
-----------
VS2005でビルドできるよう修正

- r9958

Revision Links:
--------------
    https://osdn.net/projects/ttssh2/scm/svn/commits/9958

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtdisp.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtdisp.c
===================================================================
--- trunk/teraterm/teraterm/vtdisp.c	2022-06-04 13:17:12 UTC (rev 9988)
+++ trunk/teraterm/teraterm/vtdisp.c	2022-06-04 13:17:22 UTC (rev 9989)
@@ -1501,11 +1501,12 @@
 	if (strcmp(config_file, "")) {
 		wchar_t *dir;
 		wchar_t *prevDir;
+		wchar_t *config_fileW;
 
 		hGetCurrentDirectoryW(&prevDir);
 
 		// INI\x83t\x83@\x83C\x83\x8B\x82̂\xA0\x82\xE9\x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82Ɉꎞ\x93I\x82Ɉړ\xAE
-		wchar_t *config_fileW = ToWcharA(config_file);
+		config_fileW = ToWcharA(config_file);
 		dir = ExtractDirNameW(config_fileW);
 		SetCurrentDirectoryW(dir);
 		free(dir);


ttssh2-commit メーリングリストの案内
Back to archive index