r5236 jmb - in /trunk/libparserutils/src/charset/codecs: codec_8859.c codec_ext8.c

netsurf at semichrome.net netsurf at semichrome.net
Thu Sep 4 18:47:48 BST 2008


Author: jmb
Date: Thu Sep  4 12:47:48 2008
New Revision: 5236

URL: http://source.netsurf-browser.org?rev=5236&view=rev
Log:
Fix bugs.

Modified:
    trunk/libparserutils/src/charset/codecs/codec_8859.c
    trunk/libparserutils/src/charset/codecs/codec_ext8.c

Modified: trunk/libparserutils/src/charset/codecs/codec_8859.c
URL: http://source.netsurf-browser.org/trunk/libparserutils/src/charset/codecs/codec_8859.c?rev=5236&r1=5235&r2=5236&view=diff
==============================================================================
--- trunk/libparserutils/src/charset/codecs/codec_8859.c (original)
+++ trunk/libparserutils/src/charset/codecs/codec_8859.c Thu Sep  4 12:47:48 2008
@@ -536,7 +536,7 @@
 	}
 
 	*(*s++) = out;
-	*len--;
+	(*len)--;
 
 	return PARSERUTILS_OK;
 }

Modified: trunk/libparserutils/src/charset/codecs/codec_ext8.c
URL: http://source.netsurf-browser.org/trunk/libparserutils/src/charset/codecs/codec_ext8.c?rev=5236&r1=5235&r2=5236&view=diff
==============================================================================
--- trunk/libparserutils/src/charset/codecs/codec_ext8.c (original)
+++ trunk/libparserutils/src/charset/codecs/codec_ext8.c Thu Sep  4 12:47:48 2008
@@ -530,7 +530,7 @@
 	}
 
 	*(*s++) = out;
-	*len--;
+	(*len)--;
 
 	return PARSERUTILS_OK;
 }




More information about the netsurf-commits mailing list