From bad11bc21e38466690e1c230c17b207ac0a4b95c Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 14 Jul 2022 02:00:51 -0500 Subject: [PATCH] whoops --- src/gui/fileDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/fileDialog.cpp b/src/gui/fileDialog.cpp index bd54bf0f..0bcc00a4 100644 --- a/src/gui/fileDialog.cpp +++ b/src/gui/fileDialog.cpp @@ -28,7 +28,7 @@ struct NFDState { void _nfdThread(const NFDState state, std::atomic* ok, String* result, bool* errorOutput) { nfdchar_t* out=NULL; nfdresult_t ret=NFD_CANCEL; - errorOutput=false; + (*errorOutput)=false; if (state.isSave) { ret=NFD_SaveDialog(state.filter,state.path.c_str(),&out,state.clickCallback);