]> git.lyx.org Git - lyx.git/blobdiff - src/text2.C
Fix bug 2485 and crash on middle mouse paste on math
[lyx.git] / src / text2.C
index 82f3cd52a6250d53a00277ef633165b06a9f871d..f907f329bef8a29c174a0f99682c60dcb0a4cdc2 100644 (file)
@@ -648,7 +648,7 @@ void LyXText::insertStringAsParagraphs(LCursor & cur, string const & str)
                                linestr[i] = ' ';
                                newline_inserted = true;
                        }
-               } else if (IsPrintable(linestr[i])) {
+               } else if (isPrintable(linestr[i])) {
                        newline_inserted = false;
                }
        }