summaryrefslogblamecommitdiffstats
path: root/multimedia/dvdstyler/dvdstyler-2.3rc2-nognome.patch
blob: 060cf5b2cdff251706aa82086d8923f762e7d9ca (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                           
--- wxVillaLib/ThumbnailFactory.cpp.org	2012-08-20 07:10:49.071537020 +0200
+++ wxVillaLib/ThumbnailFactory.cpp	2012-08-20 07:11:27.153489557 +0200
@@ -251,7 +251,7 @@
 		free(fnameEscaped);
 	wxString fname = filename;
 	if (info->mimeType == _T("concat"))
-		fname = filename.substr(7).BeforeFirst(wxT('|'));
+		fname = filename.Mid(7).BeforeFirst(wxT('|'));
 	info->mtime = wxFileName(fname).GetModificationTime();
 #endif
 	return info;