hopefully fix build

This commit is contained in:
tildearrow 2024-07-27 12:52:31 -05:00
parent 9d77522efb
commit 971d24dbed

View file

@ -303,9 +303,9 @@ bool FurnaceGUIFileDialog::openSelectDir(String header, String path, double dpiS
#ifdef USE_NFD #ifdef USE_NFD
dialogOK=false; dialogOK=false;
#ifdef NFD_NON_THREADED #ifdef NFD_NON_THREADED
_nfdThread(NFDState(2,header,filter,path,NULL,false),&dialogOK,&nfdResult,&hasError); _nfdThread(NFDState(2,header,std::vector<String>(),path,NULL,false),&dialogOK,&nfdResult,&hasError);
#else #else
dialogF=new std::thread(_nfdThread,NFDState(2,header,filter,path,NULL,false),&dialogOK,&nfdResult,&hasError); dialogF=new std::thread(_nfdThread,NFDState(2,header,std::vector<String>(),path,NULL,false),&dialogOK,&nfdResult,&hasError);
#endif #endif
#elif defined(ANDROID) #elif defined(ANDROID)
hasError=true; hasError=true;