Jump to content

BUG: ShapeEditor FileType Select Text Broken


Steve_Yorkshire

Recommended Posts

Okidoki, after much help from @Azaezel and @OTHGMars and co it can apparently be fixed with changes to engine/lib/nativeFileDialogs/nfd_win.cpp


~line 128

static nfdresult_t AddFiltersToDialog( ::IFileDialog *fileOpenDialog, const char *filterList )
{
    const wchar_t EMPTY_WSTR[] = L"All Files";//yorks added text "All Files" between empty ""
    const wchar_t WILDCARD[] = L"*.*";
...

 

~line 186

            // Empty filter name -- Windows describes them by extension.            
            //specList[specIdx].pszName = EMPTY_WSTR;//yorks out
			CopyNFDCharToWChar(specbuf, (wchar_t**)&specList[specIdx].pszName);//yorks in
            CopyNFDCharToWChar( specbuf, (wchar_t**)&specList[specIdx].pszSpec );
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...