This commit is contained in:
tildearrow 2022-07-14 02:00:51 -05:00
parent 28a2db7a57
commit bad11bc21e
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ struct NFDState {
void _nfdThread(const NFDState state, std::atomic<bool>* ok, String* result, bool* errorOutput) { void _nfdThread(const NFDState state, std::atomic<bool>* ok, String* result, bool* errorOutput) {
nfdchar_t* out=NULL; nfdchar_t* out=NULL;
nfdresult_t ret=NFD_CANCEL; nfdresult_t ret=NFD_CANCEL;
errorOutput=false; (*errorOutput)=false;
if (state.isSave) { if (state.isSave) {
ret=NFD_SaveDialog(state.filter,state.path.c_str(),&out,state.clickCallback); ret=NFD_SaveDialog(state.filter,state.path.c_str(),&out,state.clickCallback);