mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 10:54:33 +00:00
fixed build errors.
This commit is contained in:
parent
ec4811f612
commit
edc069a0e5
@ -27,6 +27,7 @@
|
||||
#include "nsIRenderingContext.h"
|
||||
|
||||
#include "X11/Xlib.h"
|
||||
#include "X11/Intrinsic.h"
|
||||
|
||||
/* nsDrawingSurface is actually the following struct */
|
||||
typedef struct nsDrawingSurfaceUnix {
|
||||
|
@ -504,7 +504,7 @@ void nsRenderingContextUnix :: SetFont(const nsFont& aFont)
|
||||
if (mFontMetrics)
|
||||
{
|
||||
// mCurrFontHandle = ::XLoadFont(mRenderingSurface->display, (char *)mFontMetrics->GetFontHandle());
|
||||
mCurrFontHandle = (Font)mFontMetrics->GetFontHandle());
|
||||
mCurrFontHandle = (Font)mFontMetrics->GetFontHandle();
|
||||
|
||||
::XSetFont(mRenderingSurface->display,
|
||||
mRenderingSurface->gc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user