Kaydet (Commit) df45d9d1 authored tarafından Luboš Luňák's avatar Luboš Luňák

work around -Wreturn-type with compilers that cannot figure it out themselves

üst f21316fb
......@@ -126,12 +126,11 @@ private:
//sort normal to the start
static int sortWeightValue(FontWeight eWeight)
{
if (eWeight == WEIGHT_NORMAL)
return 0;
if (eWeight < WEIGHT_NORMAL)
return eWeight + 1;
if (eWeight > WEIGHT_NORMAL)
return eWeight - 1;
return 0; // eWeight == WEIGHT_NORMAL
}
static StringCompare ImplCompareFontInfo( ImplFontListFontInfo* pInfo1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment