Small things

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1277 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-12-13 13:30:36 +00:00
parent 818f6e3f70
commit 6ed000436b
3 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,13 @@
2000-12-11 John Levon <moz@compsoc.man.ac.uk>
* README: add mention of broken ghostscript versions, remove
reference to non-existent BUGS file
2000-12-13 Angus Leeming <a.leeming@ic.ac.uk>
* src/support/lstrings.C (compare_no_case): small fix. When passed
length, should use it in the size comparison.
2000-12-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/lyxlookup.C: do not condition on FL_REVISION.

5
README
View File

@ -69,6 +69,9 @@ What do I need to run LyX?
A decent LaTeX2e installation (e.g. teTeX or NTeX) not older
than 1995/12/01
Optionally ghostscript and ghostview (or compatible)
- note that ghostscript versions 6.22 through 6.50
won't render inline figures in LyX. This is due to
a ghostscript bug.
Perl5.002 or later to import LaTeX files into LyX
What's new?
@ -188,8 +191,6 @@ How do I submit a bug report?
Help menu. You'll find detailed info on submitting bug reports
there.
You should also check the BUGS file in this directory.
If you can't do that, send details to the LyX Developers mailing
list. Don't forget to mention which version you are having
problems with!

View File

@ -34,7 +34,6 @@ using std::toupper;
int compare_no_case(string const & s, string const & s2)
{
// ANSI C
string::const_iterator p = s.begin();
string::const_iterator p2 = s2.begin();
@ -46,7 +45,7 @@ int compare_no_case(string const & s, string const & s2)
++p;
++p2;
}
if (s.size() == s2.size())
return 0;
if (s.size() < s2.size())
@ -69,7 +68,8 @@ int compare_no_case(string const & s, string const & s2, unsigned int len)
++p;
++p2;
}
if (s.size() == s2.size())
if (s.size() >= len && s2.size() >= len)
return 0;
if (s.size() < s2.size())
return -1;