[libcroco] cr-fonts: Fix a bad copy/paste error
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcroco] cr-fonts: Fix a bad copy/paste error
- Date: Wed, 13 Aug 2014 19:24:02 +0000 (UTC)
commit 670e3ee116f48118985f38c5ae97df5a42808822
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Sep 3 15:11:12 2013 -0400
cr-fonts: Fix a bad copy/paste error
src/cr-fonts.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cr-fonts.c b/src/cr-fonts.c
index 4ef8512..669aa2b 100644
--- a/src/cr-fonts.c
+++ b/src/cr-fonts.c
@@ -774,7 +774,7 @@ cr_font_weight_get_bolder (enum CRFontWeight a_weight)
} else if (a_weight < FONT_WEIGHT_NORMAL) {
return FONT_WEIGHT_NORMAL ;
} else if (a_weight == FONT_WEIGHT_BOLDER
- || a_weight == FONT_WEIGHT_BOLDER) {
+ || a_weight == FONT_WEIGHT_LIGHTER) {
cr_utils_trace_info ("FONT_WEIGHT_BOLDER or FONT_WEIGHT_LIGHTER should not appear here") ;
return FONT_WEIGHT_NORMAL ;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]