mirror of https://github.com/odrling/Aegisub
Originally committed to SVN as r262.
This commit is contained in:
parent
8de39706c8
commit
7b7b17d42b
|
@ -0,0 +1 @@
|
||||||
|
Here be dragons.
|
|
@ -114,7 +114,8 @@ void PRSDisplay::WriteData(std::vector<char> &vec) {
|
||||||
// Read data
|
// Read data
|
||||||
void PRSDisplay::ReadData(std::vector<char> &vec) {
|
void PRSDisplay::ReadData(std::vector<char> &vec) {
|
||||||
// Set length
|
// Set length
|
||||||
unsigned __int32 size = vec.size();
|
unsigned __int32 size = 4 + 4 + 4 + 4 + 2 + 2 + 1 + 1;
|
||||||
|
if (size != vec.size()) return;
|
||||||
size_t pos = 0;
|
size_t pos = 0;
|
||||||
|
|
||||||
// Write start time
|
// Write start time
|
||||||
|
|
Loading…
Reference in New Issue