From 333745260338c876989744468a5f9c707e9bcc66 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Apr 2012 02:15:28 +0300 Subject: Fix code style. --- src/gui/npcdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/npcdialog.cpp') diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 5e0e9d56f..24d94dc3f 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -84,7 +84,7 @@ NpcDialog::NpcDialog(int npcId) : // Setup output text box mTextBox = new BrowserBox(BrowserBox::AUTO_WRAP); mTextBox->setOpaque(false); - mTextBox->setMaxRow(static_cast(config.getIntValue("ChatLogLength"))); + mTextBox->setMaxRow(config.getIntValue("ChatLogLength")); mTextBox->setLinkHandler(mItemLinkHandler); mScrollArea = new ScrollArea(mTextBox); -- cgit v1.2.3-70-g09d2