X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FConverterCache.C;h=b5e0c12d8cdc2323f81333bebac75b53e2292847;hb=ca6838b288daf07eec7d7a381d74c639c0de3a46;hp=9fca48e21dfaab311a8f6146ffab3bd07e548fbf;hpb=8e6e970d7ba017dba14bdb821f4c4489665d947c;p=lyx.git diff --git a/src/ConverterCache.C b/src/ConverterCache.C index 9fca48e21d..b5e0c12d8c 100644 --- a/src/ConverterCache.C +++ b/src/ConverterCache.C @@ -115,7 +115,7 @@ void ConverterCache::Impl::readIndex() CacheItem item(orig_from_name, to_format, timestamp, checksum); // Don't cache files that do not exist anymore - if (!fs::exists(orig_from)) { + if (!fs::exists(orig_from_name.toFilesystemEncoding())) { lyxerr[Debug::FILES] << "Not caching file `" << orig_from << "' (does not exist anymore)." << std::endl;