diff options
author | David <dbphillipsnz@gmail.com> | 2014-02-13 19:32:49 +1300 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-02-13 19:32:49 +1300 |
commit | f01a21b103f655652aa58dcbd2ffbae1413e01df (patch) | |
tree | ae2db9898000576b922333395907afcc8c9dc495 /src/utilities.c | |
parent | 68f5774cb6a8a8a31f6f530b99fdcb7f1c5695fa (diff) | |
download | paramano-f01a21b103f655652aa58dcbd2ffbae1413e01df.tar.xz |
Updated readme
Diffstat (limited to 'src/utilities.c')
-rw-r--r-- | src/utilities.c | 22 |
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; } |