]> git.lyx.org Git - lyx.git/blobdiff - src/LyXSendto.C
Use paragraph iterators in CutAndPaste::SwitchLayoutsBetweenClasses
[lyx.git] / src / LyXSendto.C
index f0d71077eb33479f3d1a56305332d11fce4f9e52..5f672ac07bd0e4da087e725e2aaf06e06c7d0205 100644 (file)
@@ -81,7 +81,7 @@ void SendtoApplyCB(FL_OBJECT *, long)
     command += " &"; // execute in background
     // push directorypath, if necessary 
     string path = OnlyPath(buffer->fileName());
-    if (lyxrc.use_tempdir || (IsDirWriteable(path) < 1)){
+    if (lyxrc.use_tempdir || !IsDirWriteable(path)){
         path = buffer->tmppath;
     }
     Path p(path);