From 9ec1e1ba79986cc2389315740bdb2eed8f4bf14c Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 20 Jan 2011 05:57:46 +0000 Subject: [PATCH] Explicitly set Collisions to the default (Normal) in the default file so that opening and closing the properties dialog on the default file is a no-op Originally committed to SVN as r5250. --- aegisub/src/ass_file.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/ass_file.cpp b/aegisub/src/ass_file.cpp index a74f4fdcb..973a64327 100644 --- a/aegisub/src/ass_file.cpp +++ b/aegisub/src/ass_file.cpp @@ -454,6 +454,7 @@ void AssFile::LoadDefault(bool defline) { AddLine(_T("PlayResX: 640"),_T("[Script Info]"),version); AddLine(_T("PlayResY: 480"),_T("[Script Info]"),version); AddLine(_T("ScaledBorderAndShadow: yes"),_T("[Script Info]"),version); + AddLine(_T("Collisions: Normal"),_T("[Script Info]"),version); AddLine("",_T("[Script Info]"),version); AddLine(_T("[V4+ Styles]"),_T("[V4+ Styles]"),version); AddLine(_T("Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding"),_T("[V4+ Styles]"),version);