summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-08 18:31:51 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-08 18:31:51 +0000
commit6859749d66b3dee1fec7bb4fb37b5133c774470c (patch)
treea48690680d7b2f021d57f50d1c51d7c839e94b1a /crawl-ref/source/chardump.cc
parente77acf6a339e608932dfec9500e0ed8557fd2d05 (diff)
downloadcrawl-ref-6859749d66b3dee1fec7bb4fb37b5133c774470c.tar.gz
crawl-ref-6859749d66b3dee1fec7bb4fb37b5133c774470c.zip
Gah, yet another minor bugfix to dump_map (third time's the charm)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2824 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index 20ff25ab8d..c2edaf5137 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -1144,7 +1144,7 @@ static void dump_map(const char* fname)
if ( !fp )
return;
- int min_x = GXM, max_x = 0, min_y = GYM, max_y = 0;
+ int min_x = GXM-1, max_x = 0, min_y = GYM-1, max_y = 0;
for (int i = 0; i < GXM; i++)
for (int j = 0; j < GYM; j++)