X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fgraph.c;h=7205e63f26ab0d3bac92b7c417880d539786ec0f;hp=dec0a94fbda3a85f12110198bd4c1c2bd2a59b7b;hb=0e52be5c9e4d3bfe732f90abe7ca3cbfa32ad59c;hpb=7a43960b6afaf008187e889bc4d5e86ac40b0aca diff --git a/src/graph.c b/src/graph.c index dec0a94..7205e63 100644 --- a/src/graph.c +++ b/src/graph.c @@ -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());