X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Fui_sensorlist.c;h=f7200c17d003a873b9cfbf2e035649e55d93aa65;hp=1c3ffb1fbb79028268a2c74499da20ecc2d9129f;hb=e248180cc4ebc258fdd5778a26c08287089165b1;hpb=dcd813f21c83592155f712ff1acf450b483d8072 diff --git a/src/ui_sensorlist.c b/src/ui_sensorlist.c index 1c3ffb1..f7200c1 100644 --- a/src/ui_sensorlist.c +++ b/src/ui_sensorlist.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 @@ -95,7 +95,7 @@ void ui_sensorlist_update(struct ui_psensor *ui, bool complete) GtkTreeIter iter; GtkTreeModel *model; gboolean valid; - int use_celcius; + int use_celsius; GtkListStore *store; if (complete) @@ -104,7 +104,7 @@ void ui_sensorlist_update(struct ui_psensor *ui, bool complete) model = gtk_tree_view_get_model(ui->sensors_tree); store = ui->sensors_store; - use_celcius = ui->config->temperature_unit == CELCIUS; + use_celsius = ui->config->temperature_unit == CELSIUS; valid = gtk_tree_model_get_iter_first(model, &iter); while (valid) { @@ -112,9 +112,9 @@ void ui_sensorlist_update(struct ui_psensor *ui, bool complete) value = psensor_value_to_str(s->type, psensor_get_current_value(s), - use_celcius); - min = psensor_value_to_str(s->type, s->min, use_celcius); - max = psensor_value_to_str(s->type, s->max, use_celcius); + use_celsius); + min = psensor_value_to_str(s->type, s->min, use_celsius); + max = psensor_value_to_str(s->type, s->max, use_celsius); gtk_list_store_set(store, &iter, COL_TEMP, value,