]> 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 c253d0e060fa07977848273341653c000d158c7b..1369434ab5784225b66b44928442dd99abbade3f 100644 (file)
@@ -45,7 +45,7 @@ LSubstring::LSubstring(string & s, LRegex const & r)
                pos = res.first;
        } else {
                n = 0;
-               pos = 0;
+               pos = string::npos;
        }
 }