mirror of
https://github.com/glest/glest-source.git
synced 2025-09-27 07:59:00 +02:00
- a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings - enabled additional gcc compiler warnings
This commit is contained in:
@@ -1034,7 +1034,7 @@ vector<int> extractKeyPressedUnicodeLength(string text) {
|
||||
wchar_t keyW = c;
|
||||
wchar_t textAppend[] = { keyW, 0 };
|
||||
|
||||
if(textAppend) {
|
||||
if(*textAppend) {
|
||||
wchar_t newKey = textAppend[0];
|
||||
if (newKey < 0x80) {
|
||||
result.push_back(1);
|
||||
|
Reference in New Issue
Block a user