From c52d30be34c638ec5957e7827da7b186b4c142a9 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 26 Jan 2007 05:23:53 +0000 Subject: [PATCH] (STRDUP_LOWER): Don't ignore the tailing spaces. --- src/font-ft.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/font-ft.c b/src/font-ft.c index e21bed9..a1b24a6 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -137,7 +137,6 @@ static int all_fonts_scaned; (s1) = alloca (len), (size) = len; \ for (p1 = (s1), p2 = (s2); *p2; p1++, p2++) \ *p1 = (*p2 >= 'A' && *p2 <= 'Z' ? *p2 + 'a' - 'A' : *p2); \ - while (p1 > (s1) && p1[-1] == ' ') p1--; \ *p1 = '\0'; \ } while (0) -- 1.7.10.4