diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2014-12-11 10:07:02 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2014-12-11 10:07:02 -0500 |
commit | e369b40ddce7cb880088e8ec9ef07bc57d5ee36c (patch) | |
tree | 6f125ea574d445e522ad7543edd37ea9a7064bb6 /WWW/Library/Implementation | |
parent | de7435038b32689d955ea0e9c8ad2b9c86326412 (diff) | |
download | lynx-snapshots-e369b40ddce7cb880088e8ec9ef07bc57d5ee36c.tar.gz |
snapshot of project "lynx", label v2-8-9dev_1i
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r-- | WWW/Library/Implementation/SGML.c | 4 | ||||
-rw-r--r-- | WWW/Library/Implementation/UCAux.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c index 5a20038a..962d794c 100644 --- a/WWW/Library/Implementation/SGML.c +++ b/WWW/Library/Implementation/SGML.c @@ -1,5 +1,5 @@ /* - * $LynxId: SGML.c,v 1.154 2014/12/08 00:13:02 tom Exp $ + * $LynxId: SGML.c,v 1.155 2014/12/10 09:48:35 tom Exp $ * * General SGML Parser code SGML.c * ======================== @@ -4181,7 +4181,7 @@ static void SGML_character(HTStream *me, int c_in) * in UTF-8 form, too. This won't be always true for all uses * of the include buffer, but it's a start. - kw */ - char *puni = me->active_include + me->include_index; + const char *puni = me->active_include + me->include_index; c = UCH(*puni); clong = UCGetUniFromUtf8String(&puni); diff --git a/WWW/Library/Implementation/UCAux.h b/WWW/Library/Implementation/UCAux.h index e2f592a8..3e574a1d 100644 --- a/WWW/Library/Implementation/UCAux.h +++ b/WWW/Library/Implementation/UCAux.h @@ -1,5 +1,5 @@ /* - * $LynxId: UCAux.h,v 1.21 2014/12/07 16:20:49 tom Exp $ + * $LynxId: UCAux.h,v 1.22 2014/12/10 09:48:41 tom Exp $ */ #ifndef UCAUX_H #define UCAUX_H @@ -84,7 +84,7 @@ extern "C" { extern BOOL UCConvertUniToUtf8(UCode_t code, char *buffer); - extern UCode_t UCGetUniFromUtf8String(char **ppuni); + extern UCode_t UCGetUniFromUtf8String(const char **ppuni); #ifdef __cplusplus } |