diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:16 +0300 |
commit | 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (patch) | |
tree | b35a28cd317e2895c063749180b98edfe223c032 /src/gui/theme.cpp | |
parent | c24fefa91a1416a4dad7fd97d67cefa51f9eb97c (diff) | |
download | plus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.gz plus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.bz2 plus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.xz plus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.zip |
Fix code style in gui.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 1b1955647..ea902e2b5 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1235,8 +1235,8 @@ ImageSet *Theme::getImageSetFromThemeXml(const std::string &name, xmlNodeGetContent(infoNode))) #define readFloatValue(name) \ - info->name = atof(reinterpret_cast<const char*>(\ - xmlNodeGetContent(infoNode))) + info->name = static_cast<float>(atof(reinterpret_cast<const char*>(\ + xmlNodeGetContent(infoNode)))) ThemeInfo *Theme::loadInfo(const std::string &themeName) { |