]> git.lyx.org Git - features.git/blobdiff - src/lyx_gui_misc.C
Remove unused command line options and lyxrc tags.
[features.git] / src / lyx_gui_misc.C
index e759718f2a9c4fefe570edd5bb5d9c03dcaad551..1df880a7ae69a46e0a5c7518d9301559aecc06f7 100644 (file)
@@ -32,6 +32,7 @@
 #include "insets/insetindex.h"
 #include "LyXView.h"
 #include "bufferview_funcs.h"
+#include "support/filetools.h"
 
 using std::pair;
 using std::make_pair;
@@ -407,7 +408,7 @@ void WarnReadonly(string const & file)
 {
        WriteAlert(_("Any changes will be ignored"),
                   _("The document is read-only:"),
-                  file);
+                  MakeDisplayPath(file));
 }
 
 /// Get the dpi setting of the current screen