Line endings

This commit is contained in:
DrSlony
2015-08-11 11:53:44 +02:00
parent 96be30863d
commit effb46c3e1
136 changed files with 50595 additions and 50595 deletions

View File

@@ -290,9 +290,9 @@ std::string CacheManager::getMD5 (const Glib::ustring& fname) {
Glib::RefPtr<Gio::File> file = Gio::File::create_for_path (fname);
if (file && file->query_exists()) {
#ifdef WIN32
// Windows: file name + size + creation time
// Safer because e.g. your camera image counter turns over. Do NOT use modified date, since tagging programs will change that
#ifdef WIN32
// Windows: file name + size + creation time
// Safer because e.g. your camera image counter turns over. Do NOT use modified date, since tagging programs will change that
wchar_t *wFname = (wchar_t*)g_utf8_to_utf16 (fname.c_str(), -1, NULL, NULL, NULL);
WIN32_FILE_ATTRIBUTE_DATA fileAttr;
bool success=GetFileAttributesExW(wFname, GetFileExInfoStandard, &fileAttr);