mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
OpenFileName struct: Change default extension type (char8* -> char16*)
This commit is contained in:
parent
f34424a61d
commit
9fe7df9950
2 changed files with 2 additions and 2 deletions
|
@ -425,7 +425,7 @@ namespace System.IO
|
|||
ofn.mCustData = (int)Internal.UnsafeCastToPtr(this);
|
||||
ofn.mFlagsEx = Windows.OFN_USESHELLITEM;
|
||||
if (mDefaultExt != null && AddExtension)
|
||||
ofn.mDefExt = mDefaultExt;
|
||||
ofn.mDefExt = mDefaultExt.ToScopedNativeWChar!::();
|
||||
|
||||
DeleteContainerAndItems!(mFileNames);
|
||||
mFileNames = null;
|
||||
|
|
|
@ -120,7 +120,7 @@ namespace System
|
|||
public int32 mFlags;
|
||||
public int16 mFileOffset = 0;
|
||||
public int16 mFileExtension = 0;
|
||||
public char8* mDefExt;
|
||||
public char16* mDefExt;
|
||||
public int mCustData = 0;
|
||||
public WndProc mHook;
|
||||
public char16* mTemplateName = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue