* BTextView::CountLines() counts correctly in Haiku, so the BeOS work-around of
correcting it is no longer necessary. This should fix having the last line not quoted in Mail when doing partial replies. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36157 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2160,7 +2160,7 @@ TMailWindow::Reply(entry_ref *ref, TMailWindow *window, uint32 type)
|
||||
fContentView->fTextView->SetText(text, finish - start);
|
||||
free(text);
|
||||
|
||||
finish = fContentView->fTextView->CountLines() - 1;
|
||||
finish = fContentView->fTextView->CountLines();
|
||||
for (int32 loop = 0; loop < finish; loop++) {
|
||||
fContentView->fTextView->GoToLine(loop);
|
||||
fContentView->fTextView->Insert((const char *)QUOTE);
|
||||
|
||||
Reference in New Issue
Block a user