small changes to autogen.sh and xforms_helpers suggested by rob lahaye

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5374 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-10-09 14:38:18 +00:00
parent fe0c8a4115
commit a9510d9432
6 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* autogen.sh: fix test that says whether m4 has been found
2002-09-30 Angus Leeming <leeming@lyx.org>
* INSTALL: update notes on compilation with Compaq cxx.

View File

@ -46,7 +46,7 @@ for prog in $M4 gm4 gnum4 m4 ; do
*) ;;
esac
done
if test x$ok = xno ; then
if test x$ok != xyes ; then
echo "not found."
fi

View File

@ -2,7 +2,6 @@ src/BufferView.C
src/BufferView_pimpl.C
src/Chktex.C
src/CutAndPaste.C
src/FloatList.C
src/LColor.C
src/LaTeX.C
src/LyXAction.C
@ -19,6 +18,7 @@ src/frontends/controllers/ButtonController.h
src/frontends/controllers/ControlAboutlyx.C
src/frontends/controllers/ControlBibtex.C
src/frontends/controllers/ControlCharacter.C
src/frontends/controllers/ControlDocument.C
src/frontends/controllers/ControlExternal.C
src/frontends/controllers/ControlGraphics.C
src/frontends/controllers/ControlInclude.C
@ -44,7 +44,9 @@ src/frontends/qt2/QCharacter.C
src/frontends/qt2/QCitation.C
src/frontends/qt2/QCitationDialog.C
src/frontends/qt2/QCommandBuffer.C
src/frontends/qt2/QDelimiterDialog.C
src/frontends/qt2/QDocument.C
src/frontends/qt2/QDocumentDialog.C
src/frontends/qt2/QERT.C
src/frontends/qt2/QError.C
src/frontends/qt2/QExternal.C
@ -54,6 +56,7 @@ src/frontends/qt2/QGraphics.C
src/frontends/qt2/QInclude.C
src/frontends/qt2/QIndex.C
src/frontends/qt2/QLog.C
src/frontends/qt2/QMathDialog.C
src/frontends/qt2/QMinipage.C
src/frontends/qt2/QParagraph.C
src/frontends/qt2/QPreamble.C
@ -70,6 +73,7 @@ src/frontends/qt2/QThesaurus.C
src/frontends/qt2/QToc.C
src/frontends/qt2/QURL.C
src/frontends/qt2/QVCLog.C
src/frontends/qt2/QWrap.C
src/frontends/qt2/lengthcombo.C
src/frontends/xforms/Alert_pimpl.C
src/frontends/xforms/ColorHandler.C

View File

@ -1147,7 +1147,6 @@
* converter.C: add support for $$s (scripts from lib/scripts dir)
* lyx_main.C: white space
2002-07-17 John Levon <moz@compsoc.man.ac.uk>
* bufferlist.C:

View File

@ -1,3 +1,8 @@
2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* xforms_helpers.C (formatted): fix small typo, spotted by Rob
Lahaye
2002-10-08 Dekel Tsur <dekelts@tau.ac.il>
* FormRef.C (update): Always list the labels of the current buffer.

View File

@ -137,7 +137,7 @@ void updateWidgetsFromLengthString(FL_OBJECT * input, FL_OBJECT * choice,
fl_set_input(input, str.c_str());
// we assume that "default_unit" is in the choice as "we"
// have control over that!
// No need to check for it's precence in the choice, therefore.
// No need to check for its presence in the choice, therefore.
fl_set_choice_text(choice, default_unit.c_str());
} else {
updateWidgetsFromLength(input, choice,
@ -189,7 +189,7 @@ string formatted(string const & sin, int w, int size, int style)
for(;;) {
string::size_type const nxtpos1 = sin.find(' ', curpos);
string::size_type const nxtpos2 = sin.find('\n', curpos);
string::size_type const nxtpos = std::min(nxtpos1, nxtpos1);
string::size_type const nxtpos = std::min(nxtpos1, nxtpos2);
string const word = nxtpos == string::npos ?
sin.substr(curpos) : sin.substr(curpos, nxtpos-curpos);