From 9d922bc26c70f5e40b049bc64cfaac363897d4b6 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 8 Sep 2013 16:03:31 +0200
Subject: [PATCH] Corrected comment spellings and line lengths in code.

---
 src/main.c      | 6 +++---
 src/readwrite.h | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

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);
-- 
2.30.2