diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index 0cdf1a9..17e0a57 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,13 @@ +2009-09-28 Andras Becsi + + Reviewed by NOBODY (OOPS!). + + [Qt] Fix TextCodecQt::decode method after r48752 not to return a null string if the length of the input is 0. + This fixes https://bugs.webkit.org/show_bug.cgi?id=29736. + + * platform/text/qt/TextCodecQt.cpp: + (WebCore::TextCodecQt::decode): + 2009-09-29 Pavel Feldman Reviewed by Timothy Hatcher. diff --git a/WebCore/platform/text/qt/TextCodecQt.cpp b/WebCore/platform/text/qt/TextCodecQt.cpp index e351522..a6cb8b1 100644 --- a/WebCore/platform/text/qt/TextCodecQt.cpp +++ b/WebCore/platform/text/qt/TextCodecQt.cpp @@ -104,7 +104,7 @@ String TextCodecQt::decode(const char* bytes, size_t length, bool flush, bool /* #endif const char* buf = bytes; const char* end = buf + length; - String unicode; + String unicode(""); while (buf < end) { int size = end - buf;