X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Fgraph.c;h=7205e63f26ab0d3bac92b7c417880d539786ec0f;hp=f12a155fbdf7a714d51ee2388c302b5458af0c0f;hb=9cb6e128adf4afce6545344b9c2f9619e18ca866;hpb=ba85e3eadb75ad8bd62d9f46f5f13c33b42cb864 diff --git a/src/graph.c b/src/graph.c index f12a155..7205e63 100644 --- a/src/graph.c +++ b/src/graph.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 jeanfi@gmail.com + * Copyright (C) 2010-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -25,7 +25,7 @@ #include #include "cfg.h" -#include "log.h" +#include #include "psensor.h" /* horizontal padding */ @@ -266,12 +266,12 @@ graph_update(struct psensor **sensors, mint = get_min_temp(enabled_sensors); strmin = psensor_value_to_str(SENSOR_TYPE_TEMP, mint, - config->temperature_unit == CELCIUS); + config->temperature_unit == CELSIUS); maxt = get_max_temp(enabled_sensors); strmax = psensor_value_to_str(SENSOR_TYPE_TEMP, maxt, - config->temperature_unit == CELCIUS); + config->temperature_unit == CELSIUS); str_btime = time_to_str(get_graph_begin_time_s(config)); str_etime = time_to_str(get_graph_end_time_s());