From 454f182ba30cfec9eca95bb72bfa7bd7429496c1 Mon Sep 17 00:00:00 2001 From: auron_x Date: Sun, 14 Jan 2007 21:07:37 +0000 Subject: [PATCH] *) fix for http://www.yacy-forum.de/viewtopic.php?p=30118#30118 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3205 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ViewFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/ViewFile.java b/htroot/ViewFile.java index bdcb397aa..fe4e76ecc 100644 --- a/htroot/ViewFile.java +++ b/htroot/ViewFile.java @@ -324,7 +324,7 @@ public class ViewFile { sentence = (String)sentences.next(); if (sentence.trim().length() > 0) { prop.put("viewMode_sentences_" + i + "_nr", Integer.toString(i + 1)); - prop.put("viewMode_sentences_" + i + "_text", markup(wordArray, (String) sentences.next())); + prop.put("viewMode_sentences_" + i + "_text", markup(wordArray, sentence)); prop.put("viewMode_sentences_" + i + "_dark", ((dark) ? 1 : 0)); dark = !dark; i++;