summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-24 06:52:51 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-24 06:52:51 +0000
commit50f205740cbe6255684e79433d7d6aaee9e512f9 (patch)
treecb31e507444148fe9ed3ef824de1a84ed7fa7319 /crawl-ref/source/initfile.cc
parent34c9b0d27cbe6115c602e45c2f5f1a10132be7de (diff)
downloadcrawl-ref-50f205740cbe6255684e79433d7d6aaee9e512f9.tar.gz
crawl-ref-50f205740cbe6255684e79433d7d6aaee9e512f9.zip
Apply my previous commit to trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10029 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index b4591ef163..a9c3833a4b 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -3158,8 +3158,8 @@ void game_options::read_option_line(const std::string &str, bool runscript)
else INT_OPTION(tile_key_repeat_delay, 0, INT_MAX);
else if (key == "tile_full_screen")
tile_full_screen = (screen_mode)_read_bool(field, tile_full_screen);
- else INT_OPTION(tile_window_width, 1, INT_MAX);
- else INT_OPTION(tile_window_height, 1, INT_MAX);
+ else INT_OPTION(tile_window_width, 0, INT_MAX);
+ else INT_OPTION(tile_window_height, 0, INT_MAX);
else INT_OPTION(tile_map_pixels, 1, INT_MAX);
else INT_OPTION(tile_tooltip_ms, 0, INT_MAX);
else INT_OPTION(tile_update_rate, 50, INT_MAX);