forked from Mirrorlandia_minetest/irrlicht
Tiny spelling fixes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6462 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
5e01152f56
commit
b673a4b2bb
@ -982,7 +982,7 @@ bool CIrrDeviceLinux::run()
|
|||||||
os::Printer::log("XLookupNone", ELL_INFORMATION);
|
os::Printer::log("XLookupNone", ELL_INFORMATION);
|
||||||
else if ( status == XLookupKeySym )
|
else if ( status == XLookupKeySym )
|
||||||
// Getting this also when user did not set setlocale(LC_ALL, ""); and using an unknown locale
|
// Getting this also when user did not set setlocale(LC_ALL, ""); and using an unknown locale
|
||||||
// XSupportsLocale doesn't seeem to catch that unfortunately - any other ideas to catch it are welcome.
|
// XSupportsLocale doesn't seem to catch that unfortunately - any other ideas to catch it are welcome.
|
||||||
os::Printer::log("XLookupKeySym", ELL_INFORMATION);
|
os::Printer::log("XLookupKeySym", ELL_INFORMATION);
|
||||||
else if ( status == XBufferOverflow )
|
else if ( status == XBufferOverflow )
|
||||||
os::Printer::log("XBufferOverflow", ELL_INFORMATION);
|
os::Printer::log("XBufferOverflow", ELL_INFORMATION);
|
||||||
@ -2058,7 +2058,7 @@ Cursor CIrrDeviceLinux::TextureToMonochromeCursor(irr::video::ITexture * tex, co
|
|||||||
ZPixmap, // XYBitmap (depth=1), ZPixmap(depth=x)
|
ZPixmap, // XYBitmap (depth=1), ZPixmap(depth=x)
|
||||||
0, 0, sourceRect.getWidth(), sourceRect.getHeight(),
|
0, 0, sourceRect.getWidth(), sourceRect.getHeight(),
|
||||||
32, // bitmap_pad,
|
32, // bitmap_pad,
|
||||||
0// bytes_per_line (0 means continuos in memory)
|
0// bytes_per_line (0 means continuous in memory)
|
||||||
);
|
);
|
||||||
sourceImage->data = new char[sourceImage->height * sourceImage->bytes_per_line];
|
sourceImage->data = new char[sourceImage->height * sourceImage->bytes_per_line];
|
||||||
XImage * maskImage = XCreateImage(XDisplay, VisualInfo->visual,
|
XImage * maskImage = XCreateImage(XDisplay, VisualInfo->visual,
|
||||||
@ -2251,7 +2251,7 @@ CIrrDeviceLinux::CCursorControl::CCursorControl(CIrrDeviceLinux* dev, bool null)
|
|||||||
CIrrDeviceLinux::CCursorControl::~CCursorControl()
|
CIrrDeviceLinux::CCursorControl::~CCursorControl()
|
||||||
{
|
{
|
||||||
// Do not clearCursors here as the display is already closed
|
// Do not clearCursors here as the display is already closed
|
||||||
// TODO (cutealien): droping cursorcontrol earlier might work, not sure about reason why that's done in stub currently.
|
// TODO (cutealien): dropping cursorcontrol earlier might work, not sure about reason why that's done in stub currently.
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_X11_
|
#ifdef _IRR_COMPILE_WITH_X11_
|
||||||
|
Loading…
Reference in New Issue
Block a user