print_top(NULL, COMMUNITY_TOP_HEADER);
mvwaddstr(main_sub, 0, 0, COMMUNITY_HEADER1);
- mvwaddstr(main_sub, 0, 25, COMMUNITY_HEADER2);
+ mvwaddstr(main_sub, 0, 37, COMMUNITY_HEADER2);
mvwaddstr(main_sub, 1, 0, COMMUNITY_USER);
mvwaddstr(main_sub, 2, 0, COMMUNITY_ADMIN);
continue;
case 'U':
case 'u':
-/* get_value(user, 1, 25, sizeof(user), ANY_STRING, 0, 0, NULL); */
- get_pass(user, 1, strlen(COMMUNITY_USER), sizeof(user));
+/* get_value(user, 1, 37, sizeof(user), ANY_STRING, 0, 0, NULL); */
+ get_pass(user, 1, 37, sizeof(user));
continue;
case 'A':
case 'a':
-/* get_value(admin, 2, 25, sizeof(admin), ANY_STRING, 0, 0, NULL); */
- get_pass(admin, 2, strlen(COMMUNITY_ADMIN), sizeof(admin));
+/* get_value(admin, 2, 37, sizeof(admin), ANY_STRING, 0, 0, NULL); */
+ get_pass(admin, 2, 37, sizeof(admin));
continue;
case 'M':
case 'm':
if (ap_type == ATMEL410 || ap_type == ATMEL12350)
/*
- get_value(manufact, 3, 25, sizeof(manufact), ANY_STRING,
+ get_value(manufact, 3, 37, sizeof(manufact), ANY_STRING,
0, 0, NULL);
*/
- get_pass(manufact, 3, strlen(COMMUNITY_MANUF),
- sizeof(manufact));
+ get_pass(manufact, 3, 37, sizeof(manufact));
continue;
case 'Q':
case 'q':
print_helperr(ERR_SET);
goto exit;
}
+ wbkgd(main_sub, A_NORMAL);
+ wrefresh(main_sub);
break;
}
break;