Bug 791953 Fix lossy conversion warning in gfxFont.h r=jfkthame

This commit is contained in:
Masayuki Nakano 2012-10-01 19:32:31 +09:00
parent 46e65eb233
commit 4fe6aca97c

View File

@ -2080,7 +2080,7 @@ public:
}
float GetDirection() const {
return IsRightToLeft() ? -1.0 : 1.0;
return IsRightToLeft() ? -1.0f : 1.0f;
}
bool DisableLigatures() const {