opnsense-ports/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp
Franco Fichtner 84448e58bb */*: sync with upstream
Taken from: HardenedBSD
2018-01-28 13:12:26 +01:00

11 lines
426 B
C++

--- ext/nanogui/src/common.cpp.orig 2016-10-15 20:12:12 UTC
+++ ext/nanogui/src/common.cpp
@@ -248,7 +248,7 @@ std::string file_dialog(const std::vecto
return std::string(ofn.lpstrFile);
#else
char buffer[FILE_DIALOG_MAX_BUFFER];
- std::string cmd = "/usr/bin/zenity --file-selection ";
+ std::string cmd = "zenity --file-selection ";
if (save)
cmd += "--save ";
cmd += "--file-filter=\"";