Changeset 388
- Timestamp:
- 07/27/07 19:33:31 (1 year ago)
- Files:
-
- trunk/src/main-win.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main-win.c
r275 r388 374 374 bool bizarre; 375 375 376 cptr font_want; 377 378 cptr font_file; 376 char *font_want; 377 char *font_file; 379 378 380 379 HFONT font_id; … … 505 504 * An array of sound file names 506 505 */ 507 static c ptrsound_file[MSG_MAX][SAMPLE_MAX];506 static char *sound_file[MSG_MAX][SAMPLE_MAX]; 508 507 509 508 #endif /* USE_SOUND */ … … 513 512 * Full path to ANGBAND.INI 514 513 */ 515 static c ptrini_file = NULL;514 static char *ini_file = NULL; 516 515 517 516 /* … … 528 527 * Directory names 529 528 */ 530 static c ptrANGBAND_DIR_XTRA_FONT;531 static c ptrANGBAND_DIR_XTRA_GRAF;532 static c ptrANGBAND_DIR_XTRA_SOUND;533 static c ptrANGBAND_DIR_XTRA_HELP;529 static char *ANGBAND_DIR_XTRA_FONT; 530 static char *ANGBAND_DIR_XTRA_GRAF; 531 static char *ANGBAND_DIR_XTRA_SOUND; 532 static char *ANGBAND_DIR_XTRA_HELP; 534 533 535 534 /* … … 1180 1179 if (hBmPal) 1181 1180 { 1182 lppe = ralloc(256 * sizeof(PALETTEENTRY));1181 lppe = mem_alloc(256 * sizeof(PALETTEENTRY)); 1183 1182 nEntries = GetPaletteEntries(hBmPal, 0, 255, lppe); 1184 1183 if ((nEntries == 0) || (nEntries > 220))
