aboutsummaryrefslogtreecommitdiffstats
path: root/src/redshift.c
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2011-03-27 21:37:10 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2011-03-27 21:37:10 +0200
commit9d7096d11cb3bff6126465ad891e9dff2dfebbcc (patch)
tree32664fea5fbb7f16c68df4fe2575d135ea39b491 /src/redshift.c
parentUpdate PO files. (diff)
downloadredshift-ng-9d7096d11cb3bff6126465ad891e9dff2dfebbcc.tar.gz
redshift-ng-9d7096d11cb3bff6126465ad891e9dff2dfebbcc.tar.bz2
redshift-ng-9d7096d11cb3bff6126465ad891e9dff2dfebbcc.tar.xz
Fix: return 0 in parse_gamma_string() on success.
Diffstat (limited to 'src/redshift.c')
-rw-r--r--src/redshift.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/redshift.c b/src/redshift.c
index f5a7762..af5520c 100644
--- a/src/redshift.c
+++ b/src/redshift.c
@@ -533,6 +533,8 @@ parse_gamma_string(const char *str, float gamma[])
gamma[1] = atof(g_s); /* Blue */
gamma[2] = atof(s); /* Green */
}
+
+ return 0;
}
static const gamma_method_t *