aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/io.c b/io.c
index 171155a..87962d4 100644
--- a/io.c
+++ b/io.c
@@ -1,4 +1,6 @@
/* $Id: io.c,v 1.1.1.1 2010/07/17 17:30:32 culot Exp $ */
+/* vim: et ai sts=2 ts=2 sw=2:
+ * */
/*
* Copyright (c) 2010 Frederic Culot <frederic@culot.org>
@@ -40,14 +42,14 @@ FILE *
io_fopen (const char *path)
{
FILE *f;
-
+
if (!(f = fopen (path, "r")))
{
ERROR_MSG ("Could not open game file \"%s\": %s",
path, strerror (errno));
return 0;
}
-
+
return f;
}
Un proyecto texto-plano.xyz