From 56a7a18137e074c600480dfc23fb3f6a20b9f3ba Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Fri, 12 Feb 2016 21:52:52 -0600 Subject: [PATCH] Fix #8 (mute chat sounds when playing), attempt to work around #6 (cut off chat messages) --- LilithPort/MainForm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LilithPort/MainForm.h b/LilithPort/MainForm.h index 7256798..177209e 100644 --- a/LilithPort/MainForm.h +++ b/LilithPort/MainForm.h @@ -781,7 +781,7 @@ private: System::Windows::Forms::ContextMenu^ contextMenuStrip2; this->textBoxInput->BackColor = System::Drawing::SystemColors::Window; this->textBoxInput->Dock = System::Windows::Forms::DockStyle::Bottom; this->textBoxInput->Location = System::Drawing::Point(0, 353); - this->textBoxInput->MaxLength = 255; + this->textBoxInput->MaxLength = 127; this->textBoxInput->Name = L"textBoxInput"; this->textBoxInput->Size = System::Drawing::Size(554, 20); this->textBoxInput->TabIndex = 0; @@ -1493,7 +1493,7 @@ private: System::Windows::Forms::ContextMenu^ contextMenuStrip2; } } // 発言でウィンドウ点滅 - if(MemberList[0]->ID != id && !inname) { + if(MemberList[0]->ID != id && !inname && UDP == nullptr) { if(MTOPTION.TALK_FLASH) { WindowFlash(); } @@ -2439,7 +2439,7 @@ private: System::Windows::Forms::ContextMenu^ contextMenuStrip2; PacketSendAllMember(msg, 0); - WriteMessage(L"[Message of the Day]-------------------\n", SystemMessageColor); + WriteMessage(L"[Notice]-------------------\n", SystemMessageColor); WriteNotice(textBoxInput->Text); WriteMessage(L"-------------------------------\n", SystemMessageColor); }