summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBradley Smith2008-03-08 22:29:37 +0000
committerBradley Smith2008-03-08 22:29:37 +0000
commit62519f6110b60084ebfda126f6678e4db2b54c17 (patch)
tree84d1647e28da06ef459516de80e523a2f70f40b0 /src
parentAdd changelog entry. (diff)
downloadgnurobots-62519f6110b60084ebfda126f6678e4db2b54c17.tar.gz
Correct Map and X11_Plugin types, and correct copyrights.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index 6dd1a28..16acc93 100644
--- a/src/map.c
+++ b/src/map.c
@@ -281,7 +281,8 @@ map_new_from_file (const gchar *map_file, gint num_rows, gint num_cols)
if (stream != NULL)
{
- map = MAP (g_object_new (map_get_type (), "size", &size, NULL));
+ /*map = MAP (g_object_new (map_get_type (), "size", &size, NULL));*/
+ map = MAP(g_object_new (map_get_type(), "size", &size, NULL));
fload_map (map, stream);
fclose (stream);
cleanup_map (map);