[Ttssh2-commit] [3287] ・On / Offを他の設定に合わせて小文字に統一。

svnno****@sourc***** svnno****@sourc*****
2009年 4月 7日 (火) 03:05:06 JST


Revision: 3287
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3287
Author:   doda
Date:     2009-04-07 03:05:05 +0900 (Tue, 07 Apr 2009)

Log Message:
-----------
・On/Offを他の設定に合わせて小文字に統一。
・コメント部分の、()の前と/の前後のスペースの入り方を統一。

Modified Paths:
--------------
    trunk/TTXKanjiMenu/ttxkanjimenu.c
    trunk/TTXSamples/TTXAdditionalTitle/TTXAdditionalTitle.c
    trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c
    trunk/installer/release/TERATERM.INI


-------------- next part --------------
Modified: trunk/TTXKanjiMenu/ttxkanjimenu.c
===================================================================
--- trunk/TTXKanjiMenu/ttxkanjimenu.c	2009-04-06 15:47:39 UTC (rev 3286)
+++ trunk/TTXKanjiMenu/ttxkanjimenu.c	2009-04-06 18:05:05 UTC (rev 3287)
@@ -111,7 +111,7 @@
 	/* Call original ReadIniFile */
 	pvar->origReadIniFile(fn, ts);
 
-	GetPrivateProfileString(IniSection, "UseOneSetting", "Off", buff, sizeof(buff), fn);
+	GetPrivateProfileString(IniSection, "UseOneSetting", "off", buff, sizeof(buff), fn);
 	if (_stricmp(buff, "on") == 0) {
 		pvar->UseOneSetting = TRUE;
 		if (pvar->ts->KanjiCode == IdUTF8m) {
@@ -128,7 +128,7 @@
 	/* Call original WriteIniFile */
 	pvar->origWriteIniFile(fn, ts);
 
-	WritePrivateProfileString(IniSection, "UseOneSetting", pvar->UseOneSetting?"On":"Off", fn);
+	WritePrivateProfileString(IniSection, "UseOneSetting", pvar->UseOneSetting?"on":"off", fn);
 
 	return;
 }

Modified: trunk/TTXSamples/TTXAdditionalTitle/TTXAdditionalTitle.c
===================================================================
--- trunk/TTXSamples/TTXAdditionalTitle/TTXAdditionalTitle.c	2009-04-06 15:47:39 UTC (rev 3286)
+++ trunk/TTXSamples/TTXAdditionalTitle/TTXAdditionalTitle.c	2009-04-06 18:05:05 UTC (rev 3287)
@@ -253,7 +253,7 @@
 
   strncpy_s(pvar->orig_title, sizeof(pvar->orig_title), pvar->ts->Title, _TRUNCATE);
 
-  GetPrivateProfileString(INISECTION, "AddMode", "Off", buff, sizeof(buff), fn);
+  GetPrivateProfileString(INISECTION, "AddMode", "off", buff, sizeof(buff), fn);
   if (_stricmp(buff, "top") == 0) {
     pvar->add_mode = ADD_TOP;
     pvar->ts->AcceptTitleChangeRequest = FALSE;
@@ -277,13 +277,13 @@
   WritePrivateProfileString(INISECTION, "AdditionalTitle", pvar->add_title, fn);
   switch (pvar->add_mode) {
     case ADD_NONE:
-      WritePrivateProfileString(INISECTION, "AddMode", "Off", fn);
+      WritePrivateProfileString(INISECTION, "AddMode", "off", fn);
       break;
     case ADD_TOP:
-      WritePrivateProfileString(INISECTION, "AddMode", "Top", fn);
+      WritePrivateProfileString(INISECTION, "AddMode", "top", fn);
       break;
     case ADD_BOTTOM:
-      WritePrivateProfileString(INISECTION, "AddMode", "Bottom", fn);
+      WritePrivateProfileString(INISECTION, "AddMode", "bottom", fn);
       break;
     default:
       ; // not reached

Modified: trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c
===================================================================
--- trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c	2009-04-06 15:47:39 UTC (rev 3286)
+++ trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c	2009-04-06 18:05:05 UTC (rev 3287)
@@ -305,7 +305,7 @@
 
 	pvar->origWriteIniFile(fn, ts);
 
-	WritePrivateProfileString(SECTION, "Enable", pvar->enable?"On":"Off", fn);
+	WritePrivateProfileString(SECTION, "Enable", pvar->enable?"on":"off", fn);
 
 	WritePrivateProfileString(SECTION, "Command", pvar->orgCommand, fn);
 

Modified: trunk/installer/release/TERATERM.INI
===================================================================
--- trunk/installer/release/TERATERM.INI	2009-04-06 15:47:39 UTC (rev 3286)
+++ trunk/installer/release/TERATERM.INI	2009-04-06 18:05:05 UTC (rev 3287)
@@ -1,8 +1,8 @@
 [BG]
-; Use Background extension (On / Off)
+; Use Background extension (on/off)
 BGEnable=off
 
-; Use AlphaBlend API (On / Off)
+; Use AlphaBlend API (on/off)
 BGUseAlphaBlendAPI=on
 
 ; Susie plugin path
@@ -99,7 +99,7 @@
 ; CodePage for Unicode
 CodePage=
 
-; Background color of text uses background color of screen(on/off)
+; Background color of text uses background color of screen (on/off)
 UseNormalBGColor=on
 
 ;	Port type (serial/tcpip)
@@ -320,7 +320,7 @@
 ; Back wrap
 BackWrap=off
 
-; Beep by BEL
+; Beep by BEL (on/off/visual)
 Beep=on
 
 ; Beep on connection & disconnection
@@ -487,7 +487,7 @@
 
 ; Mapping of Unicode to DEC special character
 ;   The sum of following values:
-;   1 : Box drawings(U+2500-U+257F)
+;   1 : Box drawings (U+2500-U+257F)
 ;   2 : Bullet (U+2022)
 ;       Hyphenation point (U+2027)
 ;       Light shade (25%) (U+2591)
@@ -549,13 +549,13 @@
 ;------ end of special options
 
 [TTSSH]
-; SSH enabled flag(1=enabled 0=disabled)
+; SSH enabled flag (1=enabled 0=disabled)
 Enabled=1
 
-; packet compression level(0=none)
+; packet compression level (0=none)
 Compression=0
 
-; default login username(setup to authentication dialog)
+; default login username (setup to authentication dialog)
 DefaultUserName=
 DefaultForwarding=
 
@@ -610,9 +610,8 @@
 TelnetErrorMessage="!!!!!!!!"
 
 [TTXKanjiMenu]
-UseOneSetting=Off
+UseOneSetting=off
 
-
 ;------ Telnet host list
 ;	Max number of hosts is 200.
 ;	You can edit this list in the [Setup] TCP/IP dialog box.



Ttssh2-commit メーリングリストの案内