Fixed uint to bool conversion warning

This commit is contained in:
kervala 2015-04-25 18:28:03 +02:00
parent 79b56ff5b7
commit fea41e56d0

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;