*/
static void prepare_label_string(char *label, int mode)
{
- cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+ cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
int offset = (mode == USE_EQUIP) ? INVEN_RARM : 0;
int i;
strcpy(label, alphabet_chars);
/* Move each label */
- for (i = 0; i < 52 + 10; i++)
+ for (i = 0; i < 52; i++)
{
int index;
char c = alphabet_chars[i];
*/
static void prepare_label_string_floor(char *label, int floor_list[], int floor_num)
{
- cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+ cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
int i;
/* Prepare normal labels */
strcpy(label, alphabet_chars);
/* Move each label */
- for (i = 0; i < 52 + 10; i++)
+ for (i = 0; i < 52; i++)
{
int index;
char c = alphabet_chars[i];
char out_desc[23][MAX_NLEN];
int target_item_label = 0;
int wid, hgt;
- char inven_label[52 + 10 + 1];
+ char inven_label[52 + 1];
/* Starting column */
col = command_gap;
char out_desc[23][MAX_NLEN];
int target_item_label = 0;
int wid, hgt;
- char equip_label[52 + 10 + 1];
+ char equip_label[52 + 1];
/* Starting column */
col = command_gap;
int floor_list[23], floor_num;
int wid, hgt;
- char floor_label[52 + 10 + 1];
+ char floor_label[52 + 1];
/* Get size */
Term_get_size(&wid, &hgt);