From 97ea08be8aba4700371e064161e1c6d536c93624 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 17 Jul 2000 16:03:40 +0000 Subject: [PATCH] Fix a warning and a buglet in build-listerrors script. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@890 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 8 ++++++++ lib/Makefile.am | 2 +- po/POTFILES.in | 5 ----- src/lyxparagraph.h | 2 +- src/paragraph.C | 2 +- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9c8e182729..17cb7d9423 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2000-07-17 Jean-Marc Lasgouttes + + * lib/Makefile.am (listerrors): build-listerrors is in ${srcdir}, + not always in "."! + + * src/paragraph.[Ch] (SimpleTeXSpecialChars): fix the definition of + the last argument. + 2000-07-17 Juergen Vigna * src/tabular.C (Validate): check if array-package is needed. diff --git a/lib/Makefile.am b/lib/Makefile.am index 4f3dcb820b..b3ec747a36 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -57,4 +57,4 @@ dist-hook: echo "WARNING: Unable to get LyX Documentation from CVS!" ; true ; } listerrors: examples/Literate.lyx - ./build-listerrors + ${srcdir}/build-listerrors diff --git a/po/POTFILES.in b/po/POTFILES.in index 0961c34f8e..fabdfa0ebe 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -33,11 +33,6 @@ src/frontends/xforms/FormPreferences.C src/frontends/xforms/form_preferences.C src/frontends/xforms/FormPrint.C src/frontends/xforms/form_print.C -src/frontends/xforms/forms/form_citation.C -src/frontends/xforms/forms/form_copyright.C -src/frontends/xforms/forms/form_preferences.C -src/frontends/xforms/forms/form_print.C -src/frontends/xforms/forms/form_tabular.C src/frontends/xforms/FormTabular.C src/frontends/xforms/form_tabular.C src/gettext.h diff --git a/src/lyxparagraph.h b/src/lyxparagraph.h index 7261cc91e0..4d509179f3 100644 --- a/src/lyxparagraph.h +++ b/src/lyxparagraph.h @@ -620,7 +620,7 @@ private: LyXFont & basefont, bool & open_font, LyXLayout const & style, size_type & i, - int & column, char const c); + int & column, value_type const c); /// unsigned int id_; /// diff --git a/src/paragraph.C b/src/paragraph.C index ad1812dc79..b6c10aca02 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -3264,7 +3264,7 @@ void LyXParagraph::SimpleTeXSpecialChars(Buffer const * buf, LyXLayout const & style, LyXParagraph::size_type & i, int & column, - LyXParagraph::value_type c) + LyXParagraph::value_type const c) { // Two major modes: LaTeX or plain // Handle here those cases common to both modes -- 2.39.2