{
if (!otmp->oartifact)
return ((long)objects[otmp->otyp].oc_cost);
- else if (artilist[otmp->oartifact].cost)
- return (artilist[otmp->oartifact].cost);
+ else if (artilist[(int) otmp->oartifact].cost)
+ return (artilist[(int) otmp->oartifact].cost);
else
return (100L * (long)objects[otmp->otyp].oc_cost);
}
STATIC_DCL void FDECL(doset_add_menu, (winid,const char *,int));
STATIC_DCL void FDECL(nmcpy, (char *, const char *, int));
STATIC_DCL void FDECL(escapes, (const char *, char *));
+#if 0
STATIC_DCL int FDECL(boolopt_only_initial, (int));
+#endif
STATIC_DCL void FDECL(rejectoption, (const char *));
STATIC_DCL void FDECL(badoption, (const char *));
STATIC_DCL char *FDECL(string_for_opt, (char *,BOOLEAN_P));
return 0;
}
+/*ARGSUSED*/
void
genl_preference_update(pref)
const char *pref;
{
- extern struct wc_Opt wc_options[]; /* in options.c */
/* window ports are expected to provide
their own preference update routine
for the preference capabilities that
they support.
Just return in this genl one. */
- return;
}
/*windows.c*/