|
|
|
@ -1,8 +1,8 @@ |
|
|
|
|
diff --git a/src/synapse-plugins/calculator-plugin.vala b/src/synapse-plugins/calculator-plugin.vala
|
|
|
|
|
index 18ca3af..f5d1076 100644
|
|
|
|
|
index 886a44cd..a4601da6 100644
|
|
|
|
|
--- a/src/synapse-plugins/calculator-plugin.vala
|
|
|
|
|
+++ b/src/synapse-plugins/calculator-plugin.vala
|
|
|
|
|
@@ -44,9 +44,7 @@ namespace Synapse {
|
|
|
|
|
@@ -50,9 +50,7 @@ namespace Synapse {
|
|
|
|
|
_("Calculator"),
|
|
|
|
|
_("Calculate basic expressions."),
|
|
|
|
|
"accessories-calculator",
|
|
|
|
@ -13,10 +13,10 @@ index 18ca3af..f5d1076 100644 |
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -87,7 +85,7 @@ namespace Synapse {
|
|
|
|
|
if (matched) {
|
|
|
|
|
@@ -94,7 +92,7 @@ namespace Synapse {
|
|
|
|
|
Pid pid;
|
|
|
|
|
int read_fd, write_fd;
|
|
|
|
|
/* Must include math library to get non-integer results and to access standard math functions */
|
|
|
|
|
- string[] argv = {"bc", "-l"};
|
|
|
|
|
+ string[] argv = {"@bc@", "-l"};
|
|
|
|
|
string? solution = null;
|
|
|
|
|