summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-07-22 23:33:29 +0200
committerChris Campbell <chriscampbell89@gmail.com>2013-07-23 17:27:50 +0100
commit1e8a74ea0b0e105d33382862bf59a8313bd81fa0 (patch)
treecc43871811deaccbecb55794c39735d433aadac1 /crawl-ref/source/menu.cc
parent925c3d30d6b0207b59945da8e90a9150620cd866 (diff)
downloadcrawl-ref-1e8a74ea0b0e105d33382862bf59a8313bd81fa0.tar.gz
crawl-ref-1e8a74ea0b0e105d33382862bf59a8313bd81fa0.zip
Fix lots of typos
Diffstat (limited to 'crawl-ref/source/menu.cc')
-rw-r--r--crawl-ref/source/menu.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/menu.cc b/crawl-ref/source/menu.cc
index 5cdc798cfb..9b801fec74 100644
--- a/crawl-ref/source/menu.cc
+++ b/crawl-ref/source/menu.cc
@@ -2389,11 +2389,11 @@ MenuObject* PrecisionMenu::_find_object_by_direction(const MenuObject* start,
aabb_start.x = start->get_min_coord().x;
aabb_end.x = start->get_max_coord().x;
aabb_start.y = start->get_max_coord().y;
- // we choose an arbitarily large number here, because
+ // we choose an arbitrarily large number here, because
// tiles saves entry coordinates in pixels, yet console saves them
// in characters
- // basicly, we want the AABB to be large enough to extend to the bottom
- // of the screen in every possible resolution
+ // basically, we want the AABB to be large enough to extend to the
+ // bottom of the screen in every possible resolution
aabb_end.y = 32767;
break;
case LEFT:
@@ -2864,7 +2864,7 @@ void TextItem::_wrap_text()
if (num_linebreaks > max_lines)
{
size_t pos = 0;
- // find the max_line'th occurence of '\n'
+ // find the max_line'th occurrence of '\n'
for (int i = 0; i < max_lines; ++i)
pos = m_render_text.find('\n', pos);
@@ -3647,11 +3647,11 @@ MenuItem* MenuFreeform::_find_item_by_direction(const MenuItem* start,
aabb_start.x = start->get_min_coord().x;
aabb_end.x = start->get_max_coord().x;
aabb_start.y = start->get_max_coord().y;
- // we choose an arbitarily large number here, because
+ // we choose an arbitrarily large number here, because
// tiles saves entry coordinates in pixels, yet console saves them
// in characters
- // basicly, we want the AABB to be large enough to extend to the bottom
- // of the screen in every possible resolution
+ // basically, we want the AABB to be large enough to extend to the
+ // bottom of the screen in every possible resolution
aabb_end.y = 32767;
break;
case LEFT: