Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/ttpset/ttset.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9309 by zmatsuo, Sat Jun 12 15:29:57 2021 UTC revision 9313 by zmatsuo, Sun Jun 20 01:07:40 2021 UTC
# Line 1898  void PASCAL ReadIniFile(PCHAR FNameA, PT Line 1898  void PASCAL ReadIniFile(PCHAR FNameA, PT
1898          GetPrivateProfileString(Section, "ViewlogEditor ", Temp,          GetPrivateProfileString(Section, "ViewlogEditor ", Temp,
1899                                  ts->ViewlogEditor, sizeof(ts->ViewlogEditor), FName);                                  ts->ViewlogEditor, sizeof(ts->ViewlogEditor), FName);
1900    
         // Locale for UTF-8  
         GetPrivateProfileString(Section, "Locale ", DEFAULT_LOCALE,  
                                 Temp, sizeof(Temp), FName);  
         strncpy_s(ts->Locale, sizeof(ts->Locale), Temp, _TRUNCATE);  
   
1901          // UI language message file (相対パス)          // UI language message file (相対パス)
1902          hGetPrivateProfileStringW(SectionW, L"UILanguageFile", NULL, FName, &ts->UILanguageFileW_ini);          hGetPrivateProfileStringW(SectionW, L"UILanguageFile", NULL, FName, &ts->UILanguageFileW_ini);
1903          if (ts->UILanguageFileW_ini == NULL) {          if (ts->UILanguageFileW_ini == NULL) {
# Line 2637  void PASCAL WriteIniFile(PCHAR FNameA, P Line 2632  void PASCAL WriteIniFile(PCHAR FNameA, P
2632                                    ts->CygwinDirectory, FName);                                    ts->CygwinDirectory, FName);
2633          WritePrivateProfileString(Section, "ViewlogEditor", ts->ViewlogEditor,          WritePrivateProfileString(Section, "ViewlogEditor", ts->ViewlogEditor,
2634                                    FName);                                    FName);
         WritePrivateProfileString(Section, "Locale", ts->Locale, FName);  
2635    
2636          // ANSI color(2004.9.5 yutaka)          // ANSI color(2004.9.5 yutaka)
2637          Temp[0] = '\0';          Temp[0] = '\0';

Legend:
Removed from v.9309  
changed lines
  Added in v.9313

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26