]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.C
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetspecialchar.C
index fb3f7547a595068a0962b69e8b6ff8f8de95a4a9..c9ea76abe57ac075718fedc1e171cd0802afc1be 100644 (file)
@@ -138,7 +138,7 @@ void InsetSpecialChar::write(Buffer const &, ostream & os) const
 // This function will not be necessary when lyx3
 void InsetSpecialChar::read(Buffer const &, LyXLex & lex)
 {
-       lex.nextToken();
+       lex.next();
        string const command = lex.getString();
 
        if (command == "\\-")