From 4be6238b85e9d4b39c4f1fc23ba05952df78179a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 3 Nov 2008 00:37:35 +0000 Subject: minor bugfixes --- src/client/view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/view.cc') 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); -- cgit v1.2.3