Fix for this bug:
<rdar://problem/
3943648> extra line is inserted after pressing return within quoted text of reply
* khtml/editing/htmlediting.cpp:
(khtml::InsertParagraphSeparatorInQuotedContentCommand::doApply): This bug was the result of a
simple coding mistake. A local variable was erroneously redefined in a deeper scope, and so the
result calculated in that deeper scope was not available when tested.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8333
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-10 Ken Kocienda <kocienda@apple.com>
+
+ Reviewed by Hyatt
+
+ Fix for this bug:
+
+ <rdar://problem/3943648> extra line is inserted after pressing return within quoted text of reply
+
+ * khtml/editing/htmlediting.cpp:
+ (khtml::InsertParagraphSeparatorInQuotedContentCommand::doApply): This bug was the result of a
+ simple coding mistake. A local variable was erroneously redefined in a deeper scope, and so the
+ result calculated in that deeper scope was not available when tested.
+
2005-01-10 Ken Kocienda <kocienda@apple.com>
Reviewed by John
bool startIsBR = false;
if (startNode != topBlockquote) {
NodeImpl *n = startNode;
- bool startIsBR = n->id() == ID_BR;
+ startIsBR = n->id() == ID_BR;
if (startIsBR)
n = n->nextSibling();
while (n) {