Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/temperature Modified Files: e_mod_main.c Log Message: Formatting =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/temperature/e_mod_main.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -3 -r1.81 -r1.82 --- e_mod_main.c 24 Mar 2007 23:12:23 -0000 1.81 +++ e_mod_main.c 25 Mar 2007 22:06:33 -0000 1.82 @@ -244,19 +244,19 @@ char *name; if ((name = ecore_list_next(therms))) - { - if (ecore_file_exists(name)) - { - int len; + { + if (ecore_file_exists(name)) + { + int len; - sprintf(path, "%s", ecore_file_get_file(name)); - len = strlen(path); - if (len > 6) - path[len - 6] = '\0'; - inst->sensor_type = SENSOR_TYPE_LINUX_I2C; - inst->sensor_path = evas_stringshare_add(name); - inst->sensor_name = evas_stringshare_add(path); - } + sprintf(path, "%s", ecore_file_get_file(name)); + len = strlen(path); + if (len > 6) + path[len - 6] = '\0'; + inst->sensor_type = SENSOR_TYPE_LINUX_I2C; + inst->sensor_path = evas_stringshare_add(name); + inst->sensor_name = evas_stringshare_add(path); + } } ecore_list_destroy(therms); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs