Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-11-03 00:37:35 +0000
committerStijn Buys <ingar@osirion.org>2008-11-03 00:37:35 +0000
commit4be6238b85e9d4b39c4f1fc23ba05952df78179a (patch)
tree21b3c5d895a37ac557edc70123724038d6711537 /src/client/view.cc
parent0722960f7d3d3f80b258b5d7ef4b121d5dbb32a8 (diff)
minor bugfixes
Diffstat (limited to 'src/client/view.cc')
-rw-r--r--src/client/view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index a2bdfe1..3ee6460 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -230,7 +230,7 @@ void View::resize()
void View::draw()
{
// reposition chat widget
- if (!view_chat->small()) {
+ if (!view_chat->small_view()) {
view_chat->set_location(font()->width(), view_devinfo->top() + view_devinfo->height() + font()->height());
view_chat->set_size(width() - font()->width() * 16, height() - view_chat->top() - font()->height() * 8);
} else {
@@ -246,7 +246,7 @@ void View::draw()
if (core::application()->connected() && core::game()->interactive()) {
if (ui::console()->visible()) {
view_notify->set_visible(false);
- } else if (view_chat->visible() && !view_chat->small()) {
+ } else if (view_chat->visible() && !view_chat->small_view()) {
view_notify->set_visible(false);
} else {
view_notify->set_visible(true);