Fix stripping whitespace from end of family in FcPatternAddFullname
diff --git a/src/fcopentype.c b/src/fcopentype.c
index 39c05e9..eff3742 100644
--- a/src/fcopentype.c
+++ b/src/fcopentype.c
@@ -49,7 +49,7 @@
 	len = strlen ((const char *) family);
 	for (i = len; i > 0; i--)
 	{
-	    if (!isspace (family[i]))
+	    if (!isspace (family[i-1]))
 		break;
 	}
 	family[i] = 0;