Fixed uint to bool conversion warning

--HG--
branch : develop
This commit is contained in:
kervala 2015-04-25 18:28:03 +02:00
parent a299b89a15
commit b4e0b46ac9

View file

@ -457,7 +457,7 @@ namespace NLGUI
} }
std::vector<bool> _FontOblique; std::vector<bool> _FontOblique;
inline uint getFontOblique() const inline bool getFontOblique() const
{ {
if (_FontOblique.empty()) if (_FontOblique.empty())
return false; return false;
@ -465,7 +465,7 @@ namespace NLGUI
} }
std::vector<bool> _FontUnderlined; std::vector<bool> _FontUnderlined;
inline uint getFontUnderlined() const inline bool getFontUnderlined() const
{ {
if (_FontUnderlined.empty()) if (_FontUnderlined.empty())
return false; return false;
@ -473,7 +473,7 @@ namespace NLGUI
} }
std::vector<bool> _FontStrikeThrough; std::vector<bool> _FontStrikeThrough;
inline uint getFontStrikeThrough() const inline bool getFontStrikeThrough() const
{ {
if (_FontStrikeThrough.empty()) if (_FontStrikeThrough.empty())
return false; return false;