Changeset 626

Show
Ignore:
Timestamp:
12/22/07 00:11:34 (1 year ago)
Author:
takkaria
Message:

Fix character dumps.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/z-file.c

    r492 r626  
    542542} 
    543543 
    544 /*  
     544/* 
    545545 * Write a single, 8-bit character 'b' to file 'f'. 
    546546 */ 
    547547bool file_writec(ang_file *f, byte b) 
    548548{ 
    549         return (fputc((int)b, f->fh) != EOF); 
     549        return file_write(f, &b, 1); 
    550550} 
    551551