safestrncpy(sizecomp, BSTR(fname), sizeof sizecomp);
sprintf(fname, "sizeval%d", i);
- sizeval = atoi(BSTR(fname));
+ sizeval = IBSTR(fname);
sprintf(fname, "action%d", i);
safestrncpy(action, BSTR(fname), sizeof action);
char this_name[64];
char buf[256];
- if (IsEmptyStr(bstr("save_button"))) {
+ if (!havebstr("save_button")) {
strcpy(WC->ImportantMessage,
_("Cancelled. Changes were not saved."));
display_main_menu();
}
}
- bigaction = atoi(bstr("bigaction"));
+ bigaction = ibstr("bigaction");
if (bigaction == 0) {
serv_puts("MSIV setactive||");