aboutsummaryrefslogtreecommitdiff
path: root/src/utilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utilities.c')
-rw-r--r--src/utilities.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/utilities.c b/src/utilities.c
index fa17743..52825cb 100644
--- a/src/utilities.c
+++ b/src/utilities.c
@@ -19,19 +19,19 @@
gint util_compare_gdouble(gdouble a, gdouble b)
{
- gdouble diff = a - b;
- if(diff < .0001)
- return 0;
- else if(diff > 0)
- return 1;
- else
- return -1;
+ gdouble diff = a - b;
+ if(diff < .0001)
+ return 0;
+ else if(diff > 0)
+ return 1;
+ else
+ return -1;
}
const gchar* util_get_prefix()
{
- if(g_strcmp0(PREFIX, "NONE") == 0)
- return "/usr/local";
- else
- return PREFIX;
+ if(g_strcmp0(PREFIX, "NONE") == 0)
+ return "/usr/local";
+ else
+ return PREFIX;
}