home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed memory handling bug.
[plomrogue]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 0cdcaf16293db6472075f472c6ac09aacf29b1a9..12b8ca52f15528997c2af90520a4668df48d5a32 100644
(file)
--- 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](),
*/
#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_ren
ma
e()
+ * try_fopen(), try_fclose(), try_fclose_unlink_ren
am
e()
*/
#include "map_objects.h" /* for structs Monster, Item, Player,
* init_map_object_defs(), read_map_objects(),
*/
#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
{
/* 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);
if (0 == world.interactive)
{
file = try_fopen(recordfile, "r", &world, f_name);