Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-06-12 18:11:47 +02:00
parent 74150b80b6
commit eb769bfb9c
3 changed files with 2 additions and 6 deletions

View file

@ -61,15 +61,11 @@ bool CNELU::initDriver (uint w, uint h, uint bpp, bool windowed, nlWindow syst
CNELU::Driver= CDRU::createD3DDriver(); CNELU::Driver= CDRU::createD3DDriver();
} }
else else
#endif // NL_OS_WINDOWS
{ {
CNELU::Driver= CDRU::createGlDriver(); CNELU::Driver= CDRU::createGlDriver();
} }
#else // NL_OS_WINDOWS
CNELU::Driver= CDRU::createGlDriver();
//CNELU::Driver= CDRU::createD3DDriver();
#endif // NL_OS_WINDOWS
if (!CNELU::Driver->init()) if (!CNELU::Driver->init())
{ {
nlwarning ("CNELU::initDriver: init() failed"); nlwarning ("CNELU::initDriver: init() failed");

View file

@ -48,7 +48,6 @@ uint32 CIFile::_ReadingFromFile = 0;
uint32 CIFile::_FileOpened = 0; uint32 CIFile::_FileOpened = 0;
uint32 CIFile::_FileRead = 0; uint32 CIFile::_FileRead = 0;
CSynchronized<std::deque<std::string> > CIFile::_OpenedFiles(""); CSynchronized<std::deque<std::string> > CIFile::_OpenedFiles("");
// = CSynchronized<std::deque<std::string> >("");
// ====================================================================================================== // ======================================================================================================
CIFile::CIFile() : IStream(true) CIFile::CIFile() : IStream(true)

View file

@ -377,6 +377,7 @@ void CLoginStateMachine::run()
{ {
mustReboot = CPatchManager::getInstance()->mustLaunchBatFile(); mustReboot = CPatchManager::getInstance()->mustLaunchBatFile();
} }
if (mustReboot) if (mustReboot)
{ {
// skip eula and show reboot screen // skip eula and show reboot screen