mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-10 15:37:24 +00:00
Ansi to Auto
This commit is contained in:
parent
aba85d479c
commit
280fa4b77d
|
@ -349,7 +349,7 @@ namespace OpenTK.Platform.MacOS
|
||||||
{
|
{
|
||||||
IntPtr obj = Cocoa.SendIntPtr(files, Selector.Get("objectAtIndex:"), new IntPtr(i));
|
IntPtr obj = Cocoa.SendIntPtr(files, Selector.Get("objectAtIndex:"), new IntPtr(i));
|
||||||
IntPtr str = Cocoa.SendIntPtr(obj, Selector.Get("cStringUsingEncoding:"), new IntPtr(1));
|
IntPtr str = Cocoa.SendIntPtr(obj, Selector.Get("cStringUsingEncoding:"), new IntPtr(1));
|
||||||
OnFileDrop(Marshal.PtrToStringAnsi(str));
|
OnFileDrop(Marshal.PtrToStringAuto(str));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue