• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

Tera Termの色設定をセットで切り替えます。


Commit MetaInfo

Revisão50d61e0920d4569aff4bcd71d70246666afd2209 (tree)
Hora2018-07-02 15:16:04
AutorIWAMOTO Kouichi <sue@iwmt...>
CommiterIWAMOTO Kouichi

Mensagem de Log

色の間にスペースを入れるとバッファが溢れて設定が読みきれない時があったのを修正

Mudança Sumário

Diff

--- a/TTXColorTheme.c
+++ b/TTXColorTheme.c
@@ -183,7 +183,7 @@ static void PASCAL FAR TTXGetUIHooks(TTXUIHooks FAR * hooks) {
183183 }
184184
185185 void ReadANSIColorSetting(TAnsiColorSetting *color, int num, char *fn) {
186- char Key[32], Buff[200];
186+ char Key[32], Buff[512];
187187 int c, r, g, b;
188188
189189 _snprintf_s(Key, sizeof(Key), _TRUNCATE, "ANSIColor_%d", num + 1);
@@ -206,7 +206,7 @@ void ReadANSIColorSetting(TAnsiColorSetting *color, int num, char *fn) {
206206 }
207207
208208 void ReadColorSetting(TColorSetting *color, char *ent, int num, char *fn) {
209- char Key[32], Buff[200];
209+ char Key[32], Buff[512];
210210 int c, r, g, b;
211211
212212 _snprintf_s(Key, sizeof(Key), _TRUNCATE, "%s_%d", ent, num + 1);