mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
fixed.
This commit is contained in:
parent
c22118eca3
commit
ff0a8181d6
@ -288,7 +288,7 @@ nscoord nsFontMetricsUnix :: GetWidth(const PRUnichar *aString, PRUint32 aLength
|
||||
XFontStruct * fs = ::XQueryFont(XtDisplay((Widget)mContext->GetNativeWidget()), mFontHandle);
|
||||
|
||||
// width = ::XTextWidth16(fs, xstring, aLength);
|
||||
width = ::XTextWidth16(fs, aString, aLength);
|
||||
width = ::XTextWidth16(fs, (XChar2b *)aString, aLength);
|
||||
|
||||
// PR_Free(xstring);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user