fixed countUnusedKeySize result (I hope)
This commit is contained in:
parent
58333ad132
commit
f157b21810
@ -343,9 +343,9 @@ unsigned long countUnusedKeySize(char *text, char *key)
|
||||
{
|
||||
unsigned long returning = 0;
|
||||
|
||||
if (strlen(key) / 2 > strlen(text))
|
||||
if (strlen(key) > strlen(text))
|
||||
{
|
||||
returning = strlen(key) - 2 * strlen(text);
|
||||
returning = strlen(key) - strlen(text);
|
||||
}
|
||||
|
||||
return returning;
|
||||
|
Loading…
x
Reference in New Issue
Block a user