Enlightenment CVS committal Author : englebass Project : e_modules Module : execwatch
Dir : e_modules/execwatch Modified Files: e_mod_config.c e_mod_main.c Log Message: Fix compiler warnings. =================================================================== RCS file: /cvs/e/e_modules/execwatch/e_mod_config.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_mod_config.c 5 Mar 2008 23:12:40 -0000 1.3 +++ e_mod_config.c 17 Mar 2008 07:56:13 -0000 1.4 @@ -107,9 +107,8 @@ static Evas_Object * _basic_create_widgets(E_Config_Dialog * cfd, Evas * evas, E_Config_Dialog_Data * cfdata) { - Evas_Object *o, *o2, *of, *ob; + Evas_Object *o, *of, *ob; E_Radio_Group *rg; - char buf[4096]; o = e_widget_list_add(evas, 0, 0); =================================================================== RCS file: /cvs/e/e_modules/execwatch/e_mod_main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_mod_main.c 5 Mar 2008 23:12:40 -0000 1.3 +++ e_mod_main.c 17 Mar 2008 07:56:13 -0000 1.4 @@ -54,7 +54,6 @@ static E_Config_DD *conf_edd = NULL; static E_Config_DD *conf_item_edd = NULL; -static E_Action *act = NULL; Config *execwatch_config = NULL; @@ -280,8 +279,8 @@ if (!ev->exe) return 1; if (!ecore_exe_tag_get(ev->exe)) return 1; inst = ecore_exe_data_get(ev->exe); - if (!inst) return; - if (!inst->ci) return; + if (!inst) return 1; + if (!inst->ci) return 1; if (!strcmp(ecore_exe_tag_get(ev->exe), STATUS_EXE_TAG)) { @@ -392,7 +391,7 @@ evas = inst->popup->win->evas; o = e_widget_list_add(evas, 0, 0); - snprintf(buf, sizeof(buf), "Output (%0.2d:%0.2d): %s", local_time->tm_hour, + snprintf(buf, sizeof(buf), "Output (%02d:%02d): %s", local_time->tm_hour, local_time->tm_min, inst->ci->display_name); of = e_widget_framelist_add (evas, buf, 0); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs