Ronald Florence <[EMAIL PROTECTED]> writes:
| I'd appreciate if someone on the lyx-users list could pass this
| information along to the appropriate member of the development team.
That would probably be me...
I think the following patch should fix this:
Index: lyxstring.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/lyxstring.C,v
retrieving revision 1.12
diff -u -r1.12 lyxstring.C
--- lyxstring.C 1999/10/23 20:52:00 1.12
+++ lyxstring.C 1999/10/27 23:02:11
@@ -864,9 +864,8 @@
lyxstring::size_type lyxstring::find(lyxstring const & a, size_type i) const
{
- if (!rep->sz) return npos;
+ if (!rep->sz || i >= rep->sz) return npos;
- Assert(i < rep->sz);
TestlyxstringInvariant(this);
for (size_type t = i; rep->sz - t >= a.length(); ++t) {
Lgb