]> git.lyx.org Git - lyx.git/blobdiff - src/support/LSubstring.C
the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure...
[lyx.git] / src / support / LSubstring.C
index 6c5509fdadafc90f7c4426d8dee2aae40ae642c3..1369434ab5784225b66b44928442dd99abbade3f 100644 (file)
@@ -3,8 +3,8 @@
  * 
  *           LyX, The Document Processor
  *      
- *         Copyright (C) 1995 Matthias Ettrich
- *          Copyright (C) 1995-1998 The LyX Team.
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-1999 The LyX Team.
  *
  * ====================================================== */
 
@@ -45,7 +45,7 @@ LSubstring::LSubstring(string & s, LRegex const & r)
                pos = res.first;
        } else {
                n = 0;
-               pos = 0;
+               pos = string::npos;
        }
 }