mirror of https://github.com/odrling/Aegisub
Fixed Fonts Collector behavior with font shortcuts.
Originally committed to SVN as r128.
This commit is contained in:
parent
156816a3ce
commit
3a4f59991b
|
@ -48,6 +48,7 @@ Please visit http://aegisub.net to download latest version
|
||||||
- Now requires Avisynth 2.5.6a or later, added an option ("allow ancient avisynth") to override it to config.dat. (Myrsloik)
|
- Now requires Avisynth 2.5.6a or later, added an option ("allow ancient avisynth") to override it to config.dat. (Myrsloik)
|
||||||
- Added reading of keyframe and timecode data from Matroska files (which are still not recommended, due to their dependency on DirectShowSource). (AMZ)
|
- Added reading of keyframe and timecode data from Matroska files (which are still not recommended, due to their dependency on DirectShowSource). (AMZ)
|
||||||
- Added forums and bugtracker to Help menu. (AMZ)
|
- Added forums and bugtracker to Help menu. (AMZ)
|
||||||
|
- Fixed Fonts Collector behavior with font shortcuts. (AMZ)
|
||||||
|
|
||||||
|
|
||||||
= 1.09 beta - 2006.01.16 ===========================
|
= 1.09 beta - 2006.01.16 ===========================
|
||||||
|
|
|
@ -360,8 +360,16 @@ void FontsCollectorThread::Collect() {
|
||||||
|
|
||||||
// Copy
|
// Copy
|
||||||
else {
|
else {
|
||||||
wxString srcFile = source + work[j];
|
// Get path to font file
|
||||||
|
wxString srcFile;
|
||||||
|
wxFileName srcFileName(work[j]);
|
||||||
|
if (srcFileName.FileExists() && srcFileName.IsAbsolute()) srcFile = work[j];
|
||||||
|
else srcFile = source + work[j];
|
||||||
|
|
||||||
|
// Copy font
|
||||||
bool success = Copy(srcFile,dstFile);
|
bool success = Copy(srcFile,dstFile);
|
||||||
|
|
||||||
|
// Report
|
||||||
wxMutexGuiEnter();
|
wxMutexGuiEnter();
|
||||||
if (success) {
|
if (success) {
|
||||||
LogBox->SetDefaultStyle(wxTextAttr(wxColour(0,180,0)));
|
LogBox->SetDefaultStyle(wxTextAttr(wxColour(0,180,0)));
|
||||||
|
|
Loading…
Reference in New Issue