Magellan Linux

Diff of /tags/grubby-8_32/grubby.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1802 by niro, Mon Apr 16 17:49:04 2012 UTC revision 1837 by niro, Mon Jul 2 12:46:11 2012 UTC
# Line 1103  static struct grubConfig * readConfig(co Line 1103  static struct grubConfig * readConfig(co
1103      /* get extras */      /* get extras */
1104      int count = 0;      int count = 0;
1105      for (i = 0; i < line->numElements; i++) {      for (i = 0; i < line->numElements; i++) {
1106   if (count == 2) {   if (count >= 2) {
1107      strcat(extras, line->elements[i].item);      strcat(extras, line->elements[i].item);
1108      strcat(extras, line->elements[i].indent);      strcat(extras, line->elements[i].indent);
1109   }   }

Legend:
Removed from v.1802  
changed lines
  Added in v.1837