You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by lo...@apache.org on 2011/12/07 05:21:05 UTC
[lucy-commits] svn commit: r1211293 -
/incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c
Author: logie
Date: Wed Dec 7 04:21:05 2011
New Revision: 1211293
URL: http://svn.apache.org/viewvc?rev=1211293&view=rev
Log:
Breaking again to test e-mail configuration for failure - sorry everyone :)
Modified:
incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c
Modified: incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c?rev=1211293&r1=1211292&r2=1211293&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c (original)
+++ incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c Wed Dec 7 04:21:05 2011
@@ -624,7 +624,7 @@ S_do_encode(Highlighter *self, CharBuf *
static CharBuf*
S_encode_entities(CharBuf *text, CharBuf *encoded) {
ZombieCharBuf *temp = ZCB_WRAP(text);
- size_t space = 0;
+ size_t space =
const int MAX_ENTITY_BYTES = 9; // &#dddddd;
// Scan first so that we only allocate once.