mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-12 09:45:31 +00:00
oops, byte offset
svn path=/trunk/gtk-sharp/; revision=54246
This commit is contained in:
parent
38f2b2a114
commit
9dfa8627c9
|
@ -64,7 +64,7 @@ namespace Gdk {
|
|||
IntPtr data_ptr = gtksharp_gdk_event_client_get_data (Handle);
|
||||
long[] l = new long [5];
|
||||
for (int i = 0; i < 5; i++)
|
||||
l [i] = (long) Marshal.ReadIntPtr (data_ptr, i);
|
||||
l [i] = (long) Marshal.ReadIntPtr (data_ptr, i * IntPtr.Size);
|
||||
return l;
|
||||
default:
|
||||
throw new Exception ("Invalid Data Format: " + DataFormat);
|
||||
|
|
Loading…
Reference in a new issue