]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.h
Provide option to prevent unnecessary font loading.
[lyx.git] / src / support / FileName.h
index fad5077bdf90d2a3bceed7f35c581266eacf6a2b..ac351c2386eb0782a2abbec6e23edca1c64e20e6 100644 (file)
@@ -151,7 +151,7 @@ public:
        /// \return true on success.
        bool changePermission(unsigned long int mode) const;
        // sets permission based on the file given as an argument
-       bool clonePermissions(FileName const & target);
+       bool clonePermissions(FileName const & source);
 
        /// remove pointed directory and all contents.
        /// \return true on success.
@@ -213,7 +213,7 @@ private:
        friend bool equivalent(FileName const &, FileName const &);
        /// Set for tracking of already visited file names.
        /// Uses operator==() (which may be case insensitive), and not
-       /// equvalent(), so that symlinks are not resolved.
+       /// equivalent(), so that symlinks are not resolved.
        typedef std::set<FileName> FileNameSet;
        /// Helper for public copyTo() to find circular symlink chains
        bool copyTo(FileName const &, bool, FileNameSet &) const;