forked from mia/Aegisub
Oops, forgot to include vfr.h, previous rev doesn't compile
Originally committed to SVN as r938.
This commit is contained in:
parent
ffe5558ba1
commit
bfa2edbe04
2 changed files with 10 additions and 1 deletions
|
@ -41,6 +41,7 @@
|
|||
#include "ass_override.h"
|
||||
#include "text_file_reader.h"
|
||||
#include "options.h"
|
||||
#include "vfr.h"
|
||||
#include "../lua51/src/lualib.h"
|
||||
#include "../lua51/src/lauxlib.h"
|
||||
#include <wx/msgdlg.h>
|
||||
|
|
|
@ -379,7 +379,10 @@ namespace Automation4 {
|
|||
rb_set_errinfo(Qnil);
|
||||
}
|
||||
}
|
||||
AssFile::top->FlagAsModified(_T(""));
|
||||
|
||||
if (can_set_undo) {
|
||||
AssFile::top->FlagAsModified(_T(""));
|
||||
}
|
||||
}
|
||||
|
||||
int RubyAssFile::RubyParseTagData()
|
||||
|
@ -397,6 +400,11 @@ namespace Automation4 {
|
|||
|
||||
int RubyAssFile::RubySetUndoPoint()
|
||||
{
|
||||
// I can think of two things to do here:
|
||||
// One is to read in all of the subs from Ruby and cobvert back to AssEntry, inserting it into the file, then set undo point
|
||||
// Another is to just scrap it and only support one undo point per macro execution, and simply save the message, using it
|
||||
// to set the description when the actual undo point it set after execution.
|
||||
// -jfs
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue