TTMessageBoxW() 未初期化メンバ警告が出ないよう修正
- missing initializer for field 'message_key' of 'TTMessageBoxInfoW'
@@ -465,6 +465,7 @@ | ||
465 | 465 | static const TTMessageBoxInfoW info = { |
466 | 466 | "Tera Term", |
467 | 467 | "MSG_TT_ERROR", L"Tera Term: Error", |
468 | + NULL, NULL | |
468 | 469 | }; |
469 | 470 | |
470 | 471 | switch (err) { |
@@ -539,6 +540,7 @@ | ||
539 | 540 | static const TTMessageBoxInfoW info = { |
540 | 541 | "Tera Term", |
541 | 542 | "MSG_TT_ERROR", L"Tera Term: Error", |
543 | + NULL, NULL | |
542 | 544 | }; |
543 | 545 | InvalidHost = TRUE; |
544 | 546 |
@@ -562,6 +564,7 @@ | ||
562 | 564 | static const TTMessageBoxInfoW info = { |
563 | 565 | "Tera Term", |
564 | 566 | "MSG_TT_ERROR", L"Tera Term: Error", |
567 | + NULL, NULL | |
565 | 568 | }; |
566 | 569 | |
567 | 570 | switch (err) { |