Skip to content

Commit 214b449

Browse files
committed
Corrected typos
Corrected minor typos in error messages.
1 parent ce0f201 commit 214b449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

menu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ int main(int argc, char * argv[]) {
220220
/* Menu Description */
221221
nread=getline(&line, &len, menu_file);
222222
if (nread-1 > MENU_DESC_LENGTH) {
223-
printf("\nMenu Desicription is too long (needs to be less than %d characters it is %ld characters long.)\n", MENU_DESC_LENGTH, nread-1);
223+
printf("\nMenu Description is too long (needs to be less than %d characters it is %ld characters long.)\n", MENU_DESC_LENGTH, nread-1);
224224
printf(" - Description: %s\n", line);
225225
usage(argv[0]);
226226
} else {
@@ -366,7 +366,7 @@ int main(int argc, char * argv[]) {
366366
lb = newtListbox(15, 1, 20, NEWT_FLAG_RETURNEXIT | NEWT_FLAG_BORDER |
367367
NEWT_FLAG_SCROLL | NEWT_FLAG_SHOWCURSOR);
368368

369-
int i; /* Cpount for the loop */
369+
int i; /* Count for the loop */
370370
/* Setup the list menu based on what's in the structure array */
371371
for (i = 0; i < total_no_of_items; i++) {
372372
newtListboxAppendEntry(lb, menu[i].description, (void * )(long) i + 1);

0 commit comments

Comments
 (0)