[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:26:12 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit dee7de957a4b0d3ff9fcf12c2bacd761d9bb5031
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Feb 11 19:56:35 2004 +0000

            Reviewed by Richard.
    
            * kwq/KWQTextCodec.mm:
            (KWQTextDecoder::convertLatin1):
    	Fix off by one error.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6068 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 31c852a..4ca05fc 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2004-02-11  Darin Adler   <darin at apple.com>
+
+        Reviewed by Richard.
+
+        * kwq/KWQTextCodec.mm:
+        (KWQTextDecoder::convertLatin1):
+	Fix off by one error.
+
+
 2004-02-11  David Hyatt  <hyatt at apple.com>
 
 	Convert paint methods over to use a new PaintInfo struct.  Eliminate the paintObject method.
diff --git a/WebCore/kwq/KWQTextCodec.mm b/WebCore/kwq/KWQTextCodec.mm
index 8d5f11f..5e1ceea 100644
--- a/WebCore/kwq/KWQTextCodec.mm
+++ b/WebCore/kwq/KWQTextCodec.mm
@@ -256,7 +256,7 @@ QString KWQTextDecoder::convertLatin1(const unsigned char *s, int length)
     result.reserve(length);
     
     result.append(reinterpret_cast<const char *>(s), i);
-    int start = i + 1;
+    int start = ++i;
     for (; i != length; ++i) {
         if (s[i] == 0) {
             if (start != i) {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list