Fix inconsistent const usage in FcConfigCompareValue

This commit is contained in:
Keith Packard 2003-02-06 19:22:43 +00:00
parent c647f6f1e4
commit ca4339b8bb
1 changed files with 6 additions and 4 deletions

View File

@ -483,11 +483,13 @@ FcConfigPromote (FcValue v, FcValue u)
}
FcBool
FcConfigCompareValue (FcValue m,
FcOp op,
FcValue v)
FcConfigCompareValue (const FcValue m_o,
FcOp op,
const FcValue v_o)
{
FcBool ret = FcFalse;
FcValue m = m_o;
FcValue v = v_o;
FcBool ret = FcFalse;
m = FcConfigPromote (m, v);
v = FcConfigPromote (v, m);