From 7b6c8b08e9d29332dcd0a1029e7421334bfb6f61 Mon Sep 17 00:00:00 2001 From: Daniel Glassey Date: Mon, 7 Sep 2015 11:14:57 +0100 Subject: Imported Upstream version 1.7.3+dfsg --- src/modules/common/rawverse.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/common/rawverse.cpp') diff --git a/src/modules/common/rawverse.cpp b/src/modules/common/rawverse.cpp index 5527d38..34fba10 100644 --- a/src/modules/common/rawverse.cpp +++ b/src/modules/common/rawverse.cpp @@ -5,6 +5,7 @@ * and provides lookup and parsing functions based on * class VerseKey * + * $Id: rawverse.cpp 3181 2014-04-17 04:27:57Z greg.hellings $ * * Copyright 1997-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -44,7 +45,7 @@ SWORD_NAMESPACE_START */ int RawVerse::instance = 0; -const char *RawVerse::nl = "\r\n"; +const char RawVerse::nl = '\n'; /****************************************************************************** @@ -193,7 +194,7 @@ void RawVerse::doSetText(char testmt, long idxoff, const char *buf, long len) textfp[testmt-1]->write(buf, (int)size); // add a new line to make data file easier to read in an editor - textfp[testmt-1]->write(nl, 2); + textfp[testmt-1]->write(&nl, 1); } else { start = 0; -- cgit v1.2.3