Changeset 384
- Timestamp:
- 07/27/07 17:20:15 (1 year ago)
- Files:
-
- branches/angband-3.0.8/lib/help/Makefile (modified) (1 diff)
- branches/angband-3.0.8/src/Makefile (modified) (1 diff)
- branches/angband-3.0.8/src/cmd4.c (modified) (2 diffs)
- branches/angband-3.0.8/src/util.c (modified) (3 diffs)
- branches/angband-3.0.8/src/z-util.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/angband-3.0.8/lib/help/Makefile
r74 r384 11 11 option.txt:${DATA_PATH}/help \ 12 12 playing.txt:${DATA_PATH}/help \ 13 version.txt:${DATA_PATH}/help 13 version.txt:${DATA_PATH}/help \ 14 help.hlp:${DATA_PATH}/help \ 15 308.txt:${DATA_PATH}/help 14 16 17 branches/angband-3.0.8/src/Makefile
r281 r384 17 17 18 18 angband: $(OBJECTS) 19 $(CC) $( LDFLAGS) $(OBJECTS) $(LDADD) -o $@19 $(CC) $(OBJECTS) $(LDFLAGS) $(LDADD) -o $@ 20 20 @printf "%10s %-20s\n" LINK $@ 21 22 install-posthook: 23 @if [ "x$(SETEGID)" != "x" ]; then \ 24 printf "%10s $(DESTDIR)$(BINDIR)/angband\n" CHOWN; \ 25 if [ "x$(DRY)" = "x" ]; then \ 26 chown root:${SETEGID} $(DESTDIR)$(BINDIR)/angband; \ 27 fi; \ 28 fi branches/angband-3.0.8/src/cmd4.c
r383 r384 239 239 default: 240 240 { 241 if (isdigit( f_ptr->d_char)) return 7;241 if (isdigit((unsigned char) f_ptr->d_char)) return 7; 242 242 return 8; 243 243 } … … 2370 2370 else if (cx.type == EVT_MOVE) 2371 2371 cursor_pos = cx.index; 2372 else if (cx.type == EVT_SELECT && strchr("YN", toupper( cx.key)))2372 else if (cx.type == EVT_SELECT && strchr("YN", toupper((unsigned char) cx.key))) 2373 2373 cursor_pos++; 2374 2374 branches/angband-3.0.8/src/util.c
r357 r384 2560 2560 { 2561 2561 /* Ensure the character is printable */ 2562 ch = (isprint( s[n]) ? s[n] : ' ');2562 ch = (isprint((unsigned char) s[n]) ? s[n] : ' '); 2563 2563 2564 2564 /* Write out the character */ … … 3038 3038 if (ch == ESCAPE) break; 3039 3039 if (strchr("YyNn", ch)) break; 3040 if (ch == toupper( other)) break;3041 if (ch == tolower( other)) break;3040 if (ch == toupper((unsigned char) other)) break; 3041 if (ch == tolower((unsigned char) other)) break; 3042 3042 bell("Illegal response to question!"); 3043 3043 } … … 3052 3052 3053 3053 /* Third option */ 3054 else if ((ch == toupper( other)) || (ch == tolower(other)))3054 else if ((ch == toupper((unsigned char) other)) || (ch == tolower((unsigned char) other))) 3055 3055 result = 2; 3056 3056 branches/angband-3.0.8/src/z-util.c
r155 r384 44 44 } 45 45 46 ch1 = toupper( *s1);47 ch2 = toupper( *s2);46 ch1 = toupper((unsigned char) *s1); 47 ch2 = toupper((unsigned char) *s2); 48 48 49 49 /* If the characters don't match */
