[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:08:45 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit d785fa0aeabb6032543ab67240c9a248d05a2a96
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Nov 3 08:20:05 2003 +0000
Reviewed by Darin.
- fixed 3471226 - HTML document that's less than 16 bytes comes out blank
* kwq/KWQTextCodec.mm:
(KWQTextDecoder::toUnicode): When flushing, don't bail out early
if there are no new characters!
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 56b6eca..cf2c1c6 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -2,6 +2,16 @@
Reviewed by Darin.
+ - fixed 3471226 - HTML document that's less than 16 bytes comes out blank
+
+ * kwq/KWQTextCodec.mm:
+ (KWQTextDecoder::toUnicode): When flushing, don't bail out early
+ if there are no new characters!
+
+2003-11-02 Maciej Stachowiak <mjs at apple.com>
+
+ Reviewed by Darin.
+
- don't resolve Null href or src attributes, since the distinction
between empty and absent attribute is important.
diff --git a/WebCore/kwq/KWQTextCodec.mm b/WebCore/kwq/KWQTextCodec.mm
index 66d83eb..bd5442a 100644
--- a/WebCore/kwq/KWQTextCodec.mm
+++ b/WebCore/kwq/KWQTextCodec.mm
@@ -506,7 +506,7 @@ QString KWQTextDecoder::toUnicode(const char *chs, int len, bool flush)
{
ASSERT_ARG(len, len >= 0);
- if (_error || !chs || len <= 0) {
+ if (_error || !chs || (len <= 0 && !flush)) {
return QString();
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list