1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 17:48:01 +02:00

OpenFileName struct: Change default extension type (char8* -> char16*)

This commit is contained in:
Hiroko 2021-04-04 18:10:46 +02:00
parent f34424a61d
commit 9fe7df9950
2 changed files with 2 additions and 2 deletions

View file

@ -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;