Fixed some problems when compiling in Mono and running on Linux.

This commit is contained in:
Michael Möller
2010-09-30 20:59:21 +00:00
parent cc719ae7e8
commit 1e21129803
6 changed files with 38 additions and 37 deletions
+1 -2
View File
@@ -1,4 +1,4 @@
/*
/*
Version: MPL 1.1/GPL 2.0/LGPL 2.1
@@ -187,7 +187,6 @@ namespace OpenHardwareMonitor.GUI {
new Rectangle(0, 0, bitmap.Width, bitmap.Height),
ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
int stride = data.Stride;
IntPtr Scan0 = data.Scan0;
int numBytes = bitmap.Width * bitmap.Height * 4;