X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fui_sensorpref.c;h=6ca0815f8a57c19e7471f62f39fa9e8edb6de583;hp=d9a909c68a3f40874863833acf73971de64d9804;hb=8a3d16ade26321374c684080d627cf12ba71e598;hpb=df3cbe065f1058cb1e060122a6dbb8fd254a637d diff --git a/src/ui_sensorpref.c b/src/ui_sensorpref.c index d9a909c..6ca0815 100644 --- a/src/ui_sensorpref.c +++ b/src/ui_sensorpref.c @@ -89,7 +89,7 @@ sensor_pref_new(struct psensor *s, struct config *cfg) static void sensor_pref_free(struct sensor_pref *p) { if (!p) - return ; + return; free(p->name); free(p->color); @@ -442,7 +442,7 @@ void ui_sensorpref_dialog_run(struct psensor *sensor, struct ui_psensor *ui) if (!ok) { log_printf(LOG_ERR, error->message); g_error_free(error); - return ; + return; } w_sensors_list