summaryrefslogtreecommitdiff
path: root/mail/gnubiff/files/patch-src::Setup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mail/gnubiff/files/patch-src::Setup.cc')
-rw-r--r--mail/gnubiff/files/patch-src::Setup.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/gnubiff/files/patch-src::Setup.cc b/mail/gnubiff/files/patch-src::Setup.cc
new file mode 100644
index 000000000000..c1c055692edc
--- /dev/null
+++ b/mail/gnubiff/files/patch-src::Setup.cc
@@ -0,0 +1,13 @@
+--- src/Setup.cc.bak Mon May 3 22:05:03 2004
++++ src/Setup.cc Mon May 3 22:05:14 2004
+@@ -765,9 +765,7 @@
+ gchar *data = (gchar *) g_object_get_data (G_OBJECT(get("soundfile")), "_file_");
+ std::stringstream s;
+ s << gfloat(gtk_range_get_value (GTK_RANGE (get ("volume"))))/100.0;
+- std::string command = "play \"" + std::string (data) + std::string ("\" -v ");
+- command += s.str();
+- command += " &";
++ std::string command = "esdplay \"" + std::string (data) + std::string ("\" &");
+ system (command.c_str());
+ }
+ }