From ccc48c96a2af048d58cbc29aa892efa71049c6d7 Mon Sep 17 00:00:00 2001 From: Paul Gruenbacher Date: Sat, 27 Jul 2019 21:26:48 -0500 Subject: [PATCH] fix dialog null terminator (#1835) --- examples/common/entry/dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/common/entry/dialog.cpp b/examples/common/entry/dialog.cpp index ef027899d..d5a790956 100644 --- a/examples/common/entry/dialog.cpp +++ b/examples/common/entry/dialog.cpp @@ -111,6 +111,8 @@ bool openFileSelectionDialog( ); } + bx::write(&writer, '\0', &err); + if (err.isOk() ) { bx::ProcessReader pr;