diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-18 14:57:33 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-18 14:57:33 +0000 |
commit | c74a157f8f99fa7fffa2547c92a76d8cb7eecdb5 (patch) | |
tree | f2cb42fae1ab3a17465e42833ffa91b5d02dbc1c /crawl-ref/source/menu.cc | |
parent | f35794fa75f96cf6c8d874581dde6c8bfba7941f (diff) | |
download | crawl-ref-c74a157f8f99fa7fffa2547c92a76d8cb7eecdb5.tar.gz crawl-ref-c74a157f8f99fa7fffa2547c92a76d8cb7eecdb5.zip |
Changes to the overview screen (%) - added abilities and made it scrollable.
Also, some more clean-up of tutorial.cc. As this involved a lot of spacing changes it was easier to just replace the file as a whole. Sorry about that.
There are still some differences between the Linux and Windows versions that I don't really understand but using get_number_of_cols helps a lot.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1055 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r-- | crawl-ref/source/menu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc index 163f50cb4d..bc7ee61821 100644 --- a/crawl-ref/source/menu.cc +++ b/crawl-ref/source/menu.cc @@ -1178,7 +1178,7 @@ int linebreak_string2( std::string& s, int maxcol ) if ( s[loc] == '\n' ) xpos = 0; // hard linebreak - else if ( xpos > maxcol ) + else if ( xpos >= maxcol ) { if (spacepos >= xpos-maxcol) { |