- 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:
Mark Vejvoda
2013-11-19 06:14:06 +00:00
parent 642a26bdb5
commit 9268aaf279
81 changed files with 675 additions and 626 deletions

View File

@@ -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);