Diff of /tags/grubby-8_16/grubby.c
Parent Directory | Revision Log | Patch
revision 1836 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 | } | } |
|