try fix Issue 1066

This commit is contained in:
sonora 2012-06-13 09:17:07 +02:00
parent b2ae6b0f0e
commit 617c27bf41

View file

@ -64,6 +64,8 @@ public:
if(it->second.length() > 0) {
if(it->second[0] == '-'){
return -1;
} else if (it->second[0] == '0'){
return 0;
} else {
return 1;
}