[ttssh2-commit] [9427] SpecialFolderテーブルから未参照メンバを削除

アーカイブの一覧に戻る
scmno****@osdn***** scmno****@osdn*****
2021年 9月 19日 (日) 00:47:48 JST


Revision: 9427
          https://osdn.net/projects/ttssh2/scm/svn/commits/9427
Author:   zmatsuo
Date:     2021-09-19 00:47:47 +0900 (Sun, 19 Sep 2021)
Log Message:
-----------
SpecialFolderテーブルから未参照メンバを削除

- 未参照となった csidl メンバ削除

Modified Paths:
--------------
    trunk/teraterm/ttpmacro/ttmlib.c

-------------- next part --------------
Modified: trunk/teraterm/ttpmacro/ttmlib.c
===================================================================
--- trunk/teraterm/ttpmacro/ttmlib.c	2021-09-18 15:47:37 UTC (rev 9426)
+++ trunk/teraterm/ttpmacro/ttmlib.c	2021-09-18 15:47:47 UTC (rev 9427)
@@ -209,27 +209,26 @@
 	typedef struct {
 		const char *name;
 		REFKNOWNFOLDERID rfid;
-		int csidl;
 	} SpFolder;
 
 	static const SpFolder spfolders[] = {
-		{ "AllUsersDesktop",   &FOLDERID_PublicDesktop, CSIDL_COMMON_DESKTOPDIRECTORY },
-		{ "AllUsersStartMenu", &FOLDERID_CommonStartMenu, CSIDL_COMMON_STARTMENU },
-		{ "AllUsersPrograms",  &FOLDERID_CommonPrograms, CSIDL_COMMON_PROGRAMS },
-		{ "AllUsersStartup",   &FOLDERID_CommonStartup, CSIDL_COMMON_STARTUP },
-		{ "Desktop",           &FOLDERID_Desktop, CSIDL_DESKTOPDIRECTORY },
-		{ "Favorites",         &FOLDERID_Favorites, CSIDL_FAVORITES },
-		{ "Fonts",             &FOLDERID_Fonts, CSIDL_FONTS },
-		{ "MyDocuments",       &FOLDERID_Documents, CSIDL_PERSONAL },
-		{ "NetHood",           &FOLDERID_NetHood, CSIDL_NETHOOD },
-		{ "PrintHood",         &FOLDERID_PrintHood, CSIDL_PRINTHOOD },
-		{ "Programs",          &FOLDERID_Programs, CSIDL_PROGRAMS },
-		{ "Recent",            &FOLDERID_Recent, CSIDL_RECENT },
-		{ "SendTo",            &FOLDERID_SendTo, CSIDL_SENDTO },
-		{ "StartMenu",         &FOLDERID_StartMenu, CSIDL_STARTMENU },
-		{ "Startup",           &FOLDERID_Startup, CSIDL_STARTUP },
-		{ "Templates",         &FOLDERID_Templates, CSIDL_TEMPLATES },
-		{ NULL,                NULL, -1}
+		{ "AllUsersDesktop",   &FOLDERID_PublicDesktop },
+		{ "AllUsersStartMenu", &FOLDERID_CommonStartMenu },
+		{ "AllUsersPrograms",  &FOLDERID_CommonPrograms },
+		{ "AllUsersStartup",   &FOLDERID_CommonStartup },
+		{ "Desktop",           &FOLDERID_Desktop },
+		{ "Favorites",         &FOLDERID_Favorites },
+		{ "Fonts",             &FOLDERID_Fonts },
+		{ "MyDocuments",       &FOLDERID_Documents },
+		{ "NetHood",           &FOLDERID_NetHood },
+		{ "PrintHood",         &FOLDERID_PrintHood },
+		{ "Programs",          &FOLDERID_Programs },
+		{ "Recent",            &FOLDERID_Recent },
+		{ "SendTo",            &FOLDERID_SendTo },
+		{ "StartMenu",         &FOLDERID_StartMenu },
+		{ "Startup",           &FOLDERID_Startup },
+		{ "Templates",         &FOLDERID_Templates },
+		{ NULL,                NULL }
 	};
 
 	const SpFolder *p;


ttssh2-commit メーリングリストの案内
アーカイブの一覧に戻る