File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments