You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/09/02 21:16:34 UTC

[lucy-commits] [03/15] git commit: refs/heads/cfish-string-prep1 - Fix CharBuf usage in Highlighter

Fix CharBuf usage in Highlighter


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/4be6f870
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/4be6f870
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/4be6f870

Branch: refs/heads/cfish-string-prep1
Commit: 4be6f8703c58719283f89ca4da8fa75899f56e7c
Parents: 3a47204
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Mon Sep 2 19:43:49 2013 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Mon Sep 2 21:12:29 2013 +0200

----------------------------------------------------------------------
 core/Lucy/Highlight/Highlighter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/4be6f870/core/Lucy/Highlight/Highlighter.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Highlight/Highlighter.c b/core/Lucy/Highlight/Highlighter.c
index b245eae..d98c027 100644
--- a/core/Lucy/Highlight/Highlighter.c
+++ b/core/Lucy/Highlight/Highlighter.c
@@ -765,7 +765,7 @@ S_encode_entities(String *text, CharBuf *buf) {
         }
     }
 
-    return CB_Yield_String(buf);
+    return CB_To_String(buf);
 }