Browse Source

fix dialog null terminator (#1835)

Paul Gruenbacher 6 years ago
parent
commit
ccc48c96a2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/common/entry/dialog.cpp

+ 2 - 0
examples/common/entry/dialog.cpp

@@ -111,6 +111,8 @@ bool openFileSelectionDialog(
 			);
 			);
 	}
 	}
 
 
+	bx::write(&writer, '\0', &err);
+
 	if (err.isOk() )
 	if (err.isOk() )
 	{
 	{
 		bx::ProcessReader pr;
 		bx::ProcessReader pr;