Skip to content

Commit 6eb10d5

Browse files
committed
blah, I'm stupid
1 parent 92809f8 commit 6eb10d5

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

FlashpointSecurePlayer/ClosableWebBrowser.cs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ protected override void WndProc(ref Message m) {
3737
DefWndProc(ref m);
3838
return;
3939
case WM_PAINT:
40-
if (form.WindowState != FormWindowState.Maximized) {
41-
// lame fix: browser hangs when window.open top attribute > control height (why?)
42-
// Width, Height, and WindowState changes all work here
43-
// Width/Height are less obvious and Height doesn't cause text reflow
44-
form.Height--;
45-
form.Height++;
40+
if (form != null) {
41+
if (form.WindowState != FormWindowState.Maximized) {
42+
// lame fix: browser hangs when window.open top attribute > control height (why?)
43+
// Width, Height, and WindowState changes all work here
44+
// Width/Height are less obvious and Height doesn't cause text reflow
45+
form.Height--;
46+
form.Height++;
47+
}
4648
}
4749
break;
4850
}

FlashpointSecurePlayer/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
// You can specify all the values or you can default the Build and Revision Numbers
3434
// by using the '*' as shown below:
3535
// [assembly: AssemblyVersion("1.0.*")]
36-
[assembly: AssemblyVersion("1.1.5.0")]
37-
[assembly: AssemblyFileVersion("1.1.5.0")]
36+
[assembly: AssemblyVersion("1.1.6.0")]
37+
[assembly: AssemblyFileVersion("1.1.6.0")]
3838
[assembly: NeutralResourcesLanguage("en")]
3939

FlashpointSecurePlayer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Flashpoint Secure Player 1.1.5
1+
# Flashpoint Secure Player 1.1.6
22
This player attempts to solve common compatibility or portability issues posed by browser plugins on Windows for the purpose of playback in BlueMaxima's Flashpoint.
33

44
It is compatible with Windows 7, Windows 8, Windows 8.1 and Windows 10, and requires .NET Framework 4.5. If you are on Windows 8.1 or Windows 10, or if you are on Windows 7/8 and have updates enabled, you already have .NET Framework 4.5. Otherwise, you may [download .NET Framework 4.5.](http://www.microsoft.com/en-us/download/details.aspx?id=30653)

0 commit comments

Comments
 (0)