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
0887770a1e
commit
41bc7a1430
@ -987,7 +987,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);
|
||||||
@ -1361,7 +1361,7 @@ video::IVideoModeList* CIrrDeviceLinux::getVideoModeList()
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
os::Printer::log("VidMode or RandR X11 extension requireed for VideoModeList." , ELL_WARNING);
|
os::Printer::log("VidMode or RandR X11 extension required for VideoModeList." , ELL_WARNING);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (XDisplay && temporaryDisplay)
|
if (XDisplay && temporaryDisplay)
|
||||||
@ -2032,7 +2032,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,
|
||||||
@ -2215,7 +2215,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