char pref_file[1024];
FILE *pref_fff;
autopick_type an_entry, *entry = &an_entry;
+ concptr tmp;
int match_autopick = is_autopick(o_ptr);
/* Add a line to the file */
/* Don't kill "entry" */
- fprintf(pref_fff, "%s\n", autopick_line_from_entry(entry));
+ tmp = autopick_line_from_entry(entry);
+ fprintf(pref_fff, "%s\n", tmp);
+ string_free(tmp);
fclose(pref_fff);
return TRUE;
else if (IS_FLG(FLG_MISSILES))
body_str = "shots, arrows or crossbow bolts";
else if (IS_FLG(FLG_DEVICES))
- body_str = "scrolls, wands, staves or rods";
+ body_str = "scrolls, wands, staffs or rods";
else if (IS_FLG(FLG_LIGHTS))
body_str = "light sources";
else if (IS_FLG(FLG_JUNKS))
static GAME_TEXT MN_CL_NO_DISP[] = "'(' (No display on the large map)";
static GAME_TEXT MN_ADJECTIVE_GEN[] = "Adjective (general)";
-static GAME_TEXT MN_RARE[] = "rare (equipments)";
-static GAME_TEXT MN_COMMON[] = "common (equipments)";
+static GAME_TEXT MN_RARE[] = "rare (equipment)";
+static GAME_TEXT MN_COMMON[] = "common (equipment)";
static GAME_TEXT MN_ADJECTIVE_SPECIAL[] = "Adjective (special)";
static GAME_TEXT MN_BOOSTED[] = "dice boosted (weapons)";