@@ -151,21 +151,23 @@ bool bWasClosed = m_pDoc->m_iConnectPhase == eConnectNotConnected;
151
151
m_pDoc->StartNewLine (true , 0 );
152
152
} // end of message in world window wanted
153
153
154
- CString strInfo = TFormat (" Received %i line%s, sent %i line%s." ,
154
+ CString strInfo = TFormat (" --- Received %i line%s, sent %i line%s." ,
155
155
PLURAL (m_pDoc->m_nTotalLinesReceived ),
156
156
PLURAL (m_pDoc->m_nTotalLinesSent )
157
157
);
158
158
159
159
m_pDoc->Note (strInfo);
160
160
161
- strInfo = TFormat (" Output buffer has %i line%s in it (you have allocated room for %i line%s)." ,
162
- PLURAL (m_pDoc->m_LineList .GetCount ()),
163
- PLURAL (m_pDoc->m_maxlines )
161
+ strInfo = TFormat (" --- Output buffer has %i/%i line%s in it (%.1f%% full)." ,
162
+ m_pDoc->m_LineList .GetCount (),
163
+ m_pDoc->m_maxlines ,
164
+ (m_pDoc->m_LineList .GetCount ()) == 1 ? " " : " s" ,
165
+ (double ) m_pDoc->m_LineList .GetCount () / (double ) m_pDoc->m_maxlines * 100.0
164
166
);
165
167
166
168
m_pDoc->Note (strInfo);
167
169
168
- strInfo = TFormat (" Matched %i trigger%s, %i alias%s, and %i timer%s fired." ,
170
+ strInfo = TFormat (" --- Matched %i trigger%s, %i alias%s, and %i timer%s fired." ,
169
171
PLURAL (m_pDoc->m_iTriggersMatchedThisSessionCount ),
170
172
PLURALES (m_pDoc->m_iAliasesMatchedThisSessionCount ),
171
173
PLURAL (m_pDoc->m_iTimersFiredThisSessionCount )
0 commit comments