mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 16:08:44 +00:00
Merge with develop
This commit is contained in:
parent
f627729e05
commit
371cba9a84
3 changed files with 2 additions and 6 deletions
|
@ -382,11 +382,9 @@ std::string CI18N::getSystemLanguageCode ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
std::string lang = NLMISC::toLower(lang);
|
|
||||||
|
|
||||||
// only keep 2 first characters
|
// only keep 2 first characters
|
||||||
if (lang.size() > 1)
|
if (lang.size() > 1)
|
||||||
_SystemLanguageCode = lang.substr(0, 2);
|
_SystemLanguageCode = NLMISC::toLower(lang).substr(0, 2);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -205,7 +205,7 @@ inline bool CMirroredDataSet::propIsList( TPropertyIndex propIndex ) const
|
||||||
* Display the values of one property for all entities
|
* Display the values of one property for all entities
|
||||||
*/
|
*/
|
||||||
template <class T, class CPropLocationClass>
|
template <class T, class CPropLocationClass>
|
||||||
inline void CMirroredDataSet::displayPropValues( TPropertyIndex propIndex, T* pt, NLMISC::CLog& log ) const
|
inline void CMirroredDataSet::displayPropValues( TPropertyIndex propIndex, T* /* pt */, NLMISC::CLog& log ) const
|
||||||
{
|
{
|
||||||
// std::stringstream ss;
|
// std::stringstream ss;
|
||||||
// ss << "Mirror property " << propIndex << ":" << endl;
|
// ss << "Mirror property " << propIndex << ":" << endl;
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
|
|
||||||
#include "nel/misc/cmd_args.h"
|
#include "nel/misc/cmd_args.h"
|
||||||
|
|
||||||
#include <locale.h>
|
|
||||||
|
|
||||||
#ifdef NL_OS_WINDOWS
|
#ifdef NL_OS_WINDOWS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue