diff options
Diffstat (limited to 'src/notes.cc')
-rw-r--r-- | src/notes.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notes.cc b/src/notes.cc index 33c6bf76..17990992 100644 --- a/src/notes.cc +++ b/src/notes.cc @@ -21,14 +21,14 @@ /* * Show the notes file on the screen */ -void show_notes_file(void) +void show_notes_file() { char basename[13]; char buf[1024]; char caption[10 + 13]; /* Hack -- extract first 8 characters of name and append an extension */ - (void)strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str()); + strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str()); basename[sizeof(basename) - 1] = '\0'; /* Build the path */ @@ -55,7 +55,7 @@ void output_note(const char *final_note) char buf[1024]; /* Hack -- extract first 8 characters of name and append an extension */ - (void)strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str()); + strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str()); basename[sizeof(basename) - 1] = '\0'; /* Build the path */ |