From: Christian Heller Date: Sun, 8 Sep 2013 14:03:31 +0000 (+0200) Subject: Corrected comment spellings and line lengths in code. X-Git-Tag: tce~967 X-Git-Url: https://plomlompom.com/repos/do_tasks?a=commitdiff_plain;h=9d922bc26c70f5e40b049bc64cfaac363897d4b6;p=plomrogue Corrected comment spellings and line lengths in code. --- diff --git a/src/main.c b/src/main.c index 0cdcaf1..12b8ca5 100644 --- a/src/main.c +++ b/src/main.c @@ -15,7 +15,7 @@ */ #include "keybindings.h" /* for init_keybindings(), get_action_key() */ #include "readwrite.h" /* for [read/write]_uint[8/16/32][_bigendian](), - * try_fopen(), try_fclose(), try_fclose_unlink_renmae() + * try_fopen(), try_fclose(), try_fclose_unlink_rename() */ #include "map_objects.h" /* for structs Monster, Item, Player, * init_map_object_defs(), read_map_objects(), @@ -123,8 +123,8 @@ int main(int argc, char *argv[]) /* For non-interactive mode, try to load world state from record file. */ else { - err_r = "Trouble reading from 'record' file (read_uint32_bigendian() in " - "main())."; + err_r = "Trouble reading from 'record' file (read_uint32_bigendian() " + "in main())."; if (0 == world.interactive) { file = try_fopen(recordfile, "r", &world, f_name); diff --git a/src/readwrite.h b/src/readwrite.h index bcdf10e..5832a76 100644 --- a/src/readwrite.h +++ b/src/readwrite.h @@ -53,8 +53,8 @@ extern uint8_t textfile_sizes(FILE * file, uint16_t * linemax_p, -/* These routines for reading values "x" from / writing values to "file" ensure a - * defined endianness and consistent error codes: return 0 on success and 1 on +/* These routines for reading values "x" from / writing values to "file" ensure + * a defined endianness and consistent error codes: return 0 on success and 1 on * fgetc()/fputc() failure. */ extern uint8_t read_uint8(FILE * file, uint8_t * x);