13 lines
409 B
Text
13 lines
409 B
Text
$NetBSD: patch-ac,v 1.1 2004/12/04 12:01:09 wiz Exp $
|
|
|
|
--- src/utils.c.orig 2003-08-25 14:58:22.000000000 +0200
|
|
+++ src/utils.c
|
|
@@ -635,7 +635,7 @@ gfloat gtranslator_utils_calculate_simil
|
|
{
|
|
similarity+=one_char_percentage;
|
|
}
|
|
- else if((tolower(a[i]))==(tolower(b[i])))
|
|
+ else if((tolower((unsigned char)a[i]))==(tolower((unsigned char)b[i])))
|
|
{
|
|
similarity+=(one_char_percentage / 2);
|
|
}
|