summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/chattab.cpp2
-rw-r--r--src/gui/widgets/window.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 9bdb20ef..7a840cc6 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -52,7 +52,7 @@ ChatTab::ChatTab(const std::string &name)
mTextOutput = new BrowserBox(BrowserBox::AUTO_WRAP);
mTextOutput->setWrapIndent(15);
- mTextOutput->setMaxRows((int) config.getIntValue("ChatLogLength"));
+ mTextOutput->setMaxRows(config.getIntValue("ChatLogLength"));
mTextOutput->setLinkHandler(chatWindow->mItemLinkHandler);
mScrollArea = new ScrollArea(mTextOutput);
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 7e5c9ad9..050e31da 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -407,7 +407,7 @@ void Window::mouseMoved(gcn::MouseEvent &event)
int resizeHandles = getResizeHandles(event);
- // Changes the custom mouse cursor based on it's current position.
+ // Changes the custom mouse cursor based on its current position.
switch (resizeHandles)
{
case BOTTOM | RIGHT: