diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-11-13 16:02:29 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-11-13 16:04:31 +0100 |
commit | 50999e78bf7d2727ffba1ff07c5839b67b08dc9b (patch) | |
tree | fd5c6f49f788e9f0c271a6a833efce45c405ffe0 /crawl-ref/source/dbg-util.cc | |
parent | 2fde3d958563058d91a2e3292772ce266ddff86b (diff) | |
download | crawl-ref-50999e78bf7d2727ffba1ff07c5839b67b08dc9b.tar.gz crawl-ref-50999e78bf7d2727ffba1ff07c5839b67b08dc9b.zip |
Increase woefully short buffer for &M and others.
This should be a std::string probably; for now, 1024 bytes should be enough
for anyone.
Diffstat (limited to 'crawl-ref/source/dbg-util.cc')
-rw-r--r-- | crawl-ref/source/dbg-util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc index 99e1ed2fb0..2249f39f8a 100644 --- a/crawl-ref/source/dbg-util.cc +++ b/crawl-ref/source/dbg-util.cc @@ -24,7 +24,7 @@ monster_type debug_prompt_for_monster(void) { - char specs[80]; + char specs[1024]; mpr("Which monster by name? ", MSGCH_PROMPT); if (!cancelable_get_line_autohist(specs, sizeof specs)) |