summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs/changelog.txt
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-01 19:31:54 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-03 19:09:54 -0700
commit215f248dff2fcda35aa75202ad980827456841cc (patch)
tree0f65d1d0e918344e664ba52c63eb700fd675fc19 /crawl-ref/docs/changelog.txt
parent07441c4eb18884a509b30eb215e789ac25aec9eb (diff)
downloadcrawl-ref-215f248dff2fcda35aa75202ad980827456841cc.tar.gz
crawl-ref-215f248dff2fcda35aa75202ad980827456841cc.zip
tilesdl.cc: fix segfault caused by negative Y-value
In my case, the cause was a crawlrc with these values: view_max_width=80 view_max_height=70 I did a USE_TILE build, ran it, and the value of crawl_view.msgsz.y became negative, causing a rather nasty segfault later in initialization. I'm pretty sure that using 'std::max' here is not the best solution, but it at least avoids the negative number case. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/docs/changelog.txt')
0 files changed, 0 insertions, 0 deletions