1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

fixed and cleanup

This commit is contained in:
AlexVinS
2017-07-08 21:20:38 +03:00
parent 4f14f22d3a
commit 7bf8c9bd69
5 changed files with 19 additions and 20 deletions

View File

@ -515,7 +515,7 @@ int32_t CGeneralTextHandler::pluralText(const int32_t textIndex, const int32_t c
return 0;
else if(textIndex < 0)
return -textIndex;
else if(count == 1)
else if(count == 1)
return textIndex;
else
return textIndex + 1;