Enlightenment CVS committal
Author : onefang
Project : e17
Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/e17genmenu/src/bin
Modified Files:
dumb_list.c fdo_menus.c main.c
Log Message:
Second bug fixed, first one fixed more. That looks like the last bug.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/src/bin/dumb_list.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- dumb_list.c 17 Feb 2006 11:24:06 -0000 1.7
+++ dumb_list.c 17 Feb 2006 11:41:18 -0000 1.8
@@ -190,11 +190,13 @@
moved = 1;
list->elements[k].type = list->elements[j].type;
list->elements[k].element = list->elements[j].element;
+ list->elements[j].type = DUMB_LIST_ELEMENT_TYPE_NULL;
+ list->elements[j].element = NULL;
j++;
k++;
}
if (moved)
- i--;
+ i--;
else
list->size = i;
}
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/src/bin/fdo_menus.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- fdo_menus.c 17 Feb 2006 10:46:40 -0000 1.8
+++ fdo_menus.c 17 Feb 2006 11:41:18 -0000 1.9
@@ -224,7 +224,7 @@
if (text[0] != '\0')
{
sprintf(&temp[length], "%s%s", ((length) ? "/" : ""), text);
- length +=
strlen(text);
+ length +=
strlen(text) + ((length) ? 1 : 0);
}
}
menu_path = strdup(temp);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/src/bin/main.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- main.c 17 Feb 2006 08:07:55 -0000 1.20
+++ main.c 17 Feb 2006 11:41:18 -0000 1.21
@@ -71,8 +71,8 @@
// printf("\n\n");
if (menus)
{
- dumb_list_dump(menus, 0);
- printf("\n\n");
+// dumb_list_dump(menus, 0);
+// printf("\n\n");
/* create the .eap and order files from the menu */
}
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs