Changeset 55
- Timestamp:
- 04/21/07 18:09:39 (2 years ago)
- Files:
-
- trunk/src/cmd4.c (modified) (2 diffs)
- trunk/src/config.h (modified) (1 diff)
- trunk/src/defines.h (modified) (1 diff)
- trunk/src/h-basic.h (modified) (1 diff)
- trunk/src/store.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/cmd4.c
r50 r55 2059 2059 { 2060 2060 byte attr = curs_attrs[CURS_KNOWN][(int)cursor]; 2061 c_prt(attr, format("%-4 8s: %s (%s)",2061 c_prt(attr, format("%-45s: %s (%s)", 2062 2062 option_desc[oid], 2063 2063 op_ptr->opt[oid] ? "yes" : "no ", … … 2117 2117 for (i = 0; i < OPT_PAGE_PER; i++) 2118 2118 { 2119 if (option_page[page][i] != 255)2119 if (option_page[page][i] != OPT_NONE) 2120 2120 { 2121 2121 opt[n++] = option_page[page][i]; trunk/src/config.h
r48 r55 392 392 393 393 394 /* 395 * HACK - define if the source contains the cleanup_angband() function. 396 */ 397 #define HAS_CLEANUP 398 399 394 400 395 401 /* trunk/src/defines.h
r52 r55 3164 3164 3165 3165 #define ACT_MAX 50 3166 3167 /*3168 * HACK - define if the source contains the cleanup_angband() function.3169 */3170 #define HAS_CLEANUP3171 3172 3173 /*3174 * Given an array, determine how many elements are in the array.3175 */3176 #define N_ELEMENTS(a) (sizeof(a) / sizeof((a)[0]))trunk/src/h-basic.h
r41 r55 155 155 156 156 157 /*** Useful array length macro ***/ 158 159 /* 160 * Given an array, determine how many elements are in the array. 161 */ 162 #define N_ELEMENTS(a) (sizeof(a) / sizeof((a)[0])) 163 157 164 158 165 /*** Some hackish character manipulation ***/ trunk/src/store.c
r48 r55 1753 1753 { 1754 1754 /* Put the owner name */ 1755 put_str("Your Home", scr_places_y[LOC_OWNER], 2);1755 put_str("Your Home", scr_places_y[LOC_OWNER], 1); 1756 1756 1757 1757 /* Label the object descriptions */ … … 1774 1774 /* Put the owner name and race */ 1775 1775 strnfmt(buf, sizeof(buf), "%s (%s)", owner_name, race_name); 1776 put_str(buf, scr_places_y[LOC_OWNER], 2);1776 put_str(buf, scr_places_y[LOC_OWNER], 1); 1777 1777 1778 1778 /* Show the max price in the store (above prices) */
