Ansi to Auto
This commit is contained in:
parent
aba85d479c
commit
280fa4b77d
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ namespace OpenTK.Platform.MacOS
|
|||
{
|
||||
IntPtr obj = Cocoa.SendIntPtr(files, Selector.Get("objectAtIndex:"), new IntPtr(i));
|
||||
IntPtr str = Cocoa.SendIntPtr(obj, Selector.Get("cStringUsingEncoding:"), new IntPtr(1));
|
||||
OnFileDrop(Marshal.PtrToStringAnsi(str));
|
||||
OnFileDrop(Marshal.PtrToStringAuto(str));
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue