From 5f7d953f43fd8af5daf95e9f483112ebaf376fbc Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Thu, 18 Oct 2007 03:12:18 +0000 Subject: [PATCH] Fixed #568 Originally committed to SVN as r1606. --- aegisub/changelog.txt | 1 + aegisub/text_file_reader.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/aegisub/changelog.txt b/aegisub/changelog.txt index 0b412bd6b..7b520c5f4 100644 --- a/aegisub/changelog.txt +++ b/aegisub/changelog.txt @@ -162,6 +162,7 @@ Please visit http://aegisub.net to download latest version - Added "Effect" field to the Select Lines dialog. (demi`) - Added a new "Video Details" dialog, that lists some information regarding the currently open video. (demi`) - Added support for reading keyframes from xvid pass files. (demi`) +- Added offsetting support to the resolution resampler. (AMZ) = 1.10 beta - 2006.08.07 =========================== diff --git a/aegisub/text_file_reader.cpp b/aegisub/text_file_reader.cpp index 7c6d76865..5775661c9 100644 --- a/aegisub/text_file_reader.cpp +++ b/aegisub/text_file_reader.cpp @@ -212,6 +212,8 @@ wxString TextFileReader::ReadLineFromFile() { #else while (ch != L'\n' && !file.eof()) { // Read two chars from file + charbuffer[0] = 0; + charbuffer[1] = 0; file.read(charbuffer,2); #endif