зеркало из https://github.com/mozilla/gecko-dev.git
fixed build errors.
This commit is contained in:
Родитель
ec4811f612
Коммит
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче