From 62f8945783a628174ff01e50f6accd719b293a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Fri, 5 May 2000 12:27:42 +0000 Subject: [PATCH] stupid bug git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@720 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 4 ++++ src/buffer.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 64b6c7e3d4..b1bd721186 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-05-05 Lars Gullik Bjønnes + + * src/buffer.C (parseSingleLyXformat2Token): stupid bug. + 2000-05-05 Juergen Vigna * src/tabular.[Ch]: now using std:vector instead of arrays for all the diff --git a/src/buffer.C b/src/buffer.C index c7d38d9a50..46471e97dd 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -988,7 +988,7 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, LyXParagraph *& par, par->InsertChar(pos, '-'); par->SetFont(pos, font); } else if (next_token == "\\protected_separator" - || next_token == '~') { + || next_token == "~") { par->InsertChar(pos, ' '); par->SetFont(pos, font); } else {