From f01a21b103f655652aa58dcbd2ffbae1413e01df Mon Sep 17 00:00:00 2001 From: David Date: Thu, 13 Feb 2014 19:32:49 +1300 Subject: Updated readme --- src/utilities.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/utilities.c') 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; } -- cgit v1.1