Revision: 8945 https://osdn.net/projects/ttssh2/scm/svn/commits/8945 Author: zmatsuo Date: 2020-10-03 00:45:51 +0900 (Sat, 03 Oct 2020) Log Message: ----------- isInvalidFileNameChar() の第一引数を const char * に変更 Modified Paths: -------------- trunk/teraterm/common/ttlib.c trunk/teraterm/common/ttlib.h -------------- next part -------------- Modified: trunk/teraterm/common/ttlib.c =================================================================== --- trunk/teraterm/common/ttlib.c 2020-10-02 15:45:39 UTC (rev 8944) +++ trunk/teraterm/common/ttlib.c 2020-10-02 15:45:51 UTC (rev 8945) @@ -531,7 +531,7 @@ } // \x83t\x83@\x83C\x83\x8B\x96\xBC\x82Ɏg\x97p\x82ł\xAB\x82Ȃ\xA2\x95\xB6\x8E\x9A\x82\xAA\x8A܂܂\xEA\x82Ă\xA2\x82邩\x8Am\x82\xA9\x82߂\xE9 (2006.8.28 maya) -int isInvalidFileNameChar(PCHAR FName) +int isInvalidFileNameChar(const char *FName) { int i, len; char **p, c; Modified: trunk/teraterm/common/ttlib.h =================================================================== --- trunk/teraterm/common/ttlib.h 2020-10-02 15:45:39 UTC (rev 8944) +++ trunk/teraterm/common/ttlib.h 2020-10-02 15:45:51 UTC (rev 8945) @@ -59,7 +59,7 @@ #ifdef WIN32 void QuoteFName(PCHAR FName); #endif -int isInvalidFileNameChar(PCHAR FName); +int isInvalidFileNameChar(const char *FName); #define deleteInvalidFileNameChar(name) replaceInvalidFileNameChar(name, 0) DllExport void replaceInvalidFileNameChar(PCHAR FName, unsigned char c); int isInvalidStrftimeChar(PCHAR FName);