lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [03/15] git commit: refs/heads/cfish-string-prep1 - Fix CharBuf usage in Highlighter
Date Mon, 02 Sep 2013 19:16:34 GMT
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 <wellnhofer@aevum.de>
Authored: Mon Sep 2 19:43:49 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@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);
 }
 
 


Mime
View raw message