unfucked the countUnusedKeySize fix
this reverts commit f157b2181074d11268abc543a891898dff1057c8
This commit is contained in:
parent
3c600c2d78
commit
c51002e100
@ -343,9 +343,9 @@ unsigned long countUnusedKeySize(char *text, char *key)
|
||||
{
|
||||
unsigned long returning = 0;
|
||||
|
||||
if (strlen(key) > strlen(text))
|
||||
if (strlen(key) / 2 > strlen(text))
|
||||
{
|
||||
returning = strlen(key) - strlen(text);
|
||||
returning = strlen(key) - 2 * strlen(text);
|
||||
}
|
||||
|
||||
return returning;
|
||||
|
Loading…
x
Reference in New Issue
Block a user