From 5c8280e7cd91cb30a0717714f6a0672805f5dd08 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Dec 2013 18:52:07 +0300 Subject: fix code style. --- src/gui/windows/updaterwindow.h | 2 +- src/net/tmwa/npchandler.cpp | 3 ++- src/resources/dye.cpp | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui/windows/updaterwindow.h b/src/gui/windows/updaterwindow.h index 210b01bda..e15a6d9e8 100644 --- a/src/gui/windows/updaterwindow.h +++ b/src/gui/windows/updaterwindow.h @@ -141,7 +141,7 @@ class UpdaterWindow final : public Window, static void removeUpdateFile(const ResourceManager *const resman, const std::string &restrict path, const std::string &restrict fixPath, - const std::string &filerestrict ); + const std::string &filerestrict); static void loadManaPlusUpdates(const std::string &dir, const ResourceManager *const resman); diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 18191769f..1356dbf8c 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -346,7 +346,8 @@ void NpcHandler::processLangReuqest(Net::MessageIn &msg A_UNUSED, stringInput(npcId, getLangSimple()); } -void NpcHandler::processChangeTitle(Net::MessageIn &msg, const int npcId) const +void NpcHandler::processChangeTitle(Net::MessageIn &msg, + const int npcId A_UNUSED) const { const std::string str = msg.readString(); if (mDialog) diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp index 68364dc52..67d32993f 100644 --- a/src/resources/dye.cpp +++ b/src/resources/dye.cpp @@ -197,7 +197,8 @@ void DyePalette::getColor(double intensity, int color[3]) const color[2] = static_cast(rest * b1 + intensity * b2); } -void DyePalette::replaceSColor(uint32_t *restrict pixels, const int bufSize) const +void DyePalette::replaceSColor(uint32_t *restrict pixels, + const int bufSize) const { std::vector::const_iterator it_end = mColors.end(); const int sz = mColors.size(); -- cgit v1.2.3-60-g2f50