]> git.lyx.org Git - lyx.git/blobdiff - src/format.C
fix crash after removing a table row (again due to uncorrected cursor
[lyx.git] / src / format.C
index ec5585d73fd899fa95c47f918d5568a8672b8476..0e83306e2506a0ed74b6b8f270f985a5d1040da3 100644 (file)
@@ -130,8 +130,8 @@ void Formats::add(string const & name)
 
 
 void Formats::add(string const & name, string const & extension,
-                  string const & prettyname, string const & shortcut,
-                  string const & viewer, string const & editor)
+                 string const & prettyname, string const & shortcut,
+                 string const & viewer, string const & editor)
 {
        FormatList::iterator it =
                find_if(formatlist.begin(), formatlist.end(),
@@ -172,7 +172,7 @@ void Formats::setViewer(string const & name, string const & command)
 
 
 bool Formats::view(Buffer const & buffer, string const & filename,
-                   string const & format_name) const
+                  string const & format_name) const
 {
        if (filename.empty())
                return false;