Fixed some 'false' value implicitly cast to the integer type.
This commit is contained in:
@@ -140,13 +140,13 @@ namespace paint
|
||||
|
||||
unsigned font::height() const
|
||||
{
|
||||
if(empty()) return false;
|
||||
if(empty()) return 0;
|
||||
return (impl_->font_ptr->height);
|
||||
}
|
||||
|
||||
unsigned font::weight() const
|
||||
{
|
||||
if(empty()) return false;
|
||||
if(empty()) return 0;
|
||||
return (impl_->font_ptr->weight);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user