[pango/pango2] Silence compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2] Silence compiler warning
- Date: Mon, 27 Jun 2022 18:06:53 +0000 (UTC)
commit 10d9fee531605a0ab90813e15305d54a76fb37ab
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 27 14:06:20 2022 -0400
Silence compiler warning
This was showing up in ci.
pango2/pangodwrite-fontmap.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango2/pangodwrite-fontmap.cpp b/pango2/pangodwrite-fontmap.cpp
index ebf44cff3..532c3a381 100644
--- a/pango2/pangodwrite-fontmap.cpp
+++ b/pango2/pangodwrite-fontmap.cpp
@@ -107,8 +107,8 @@ util_to_pango2_stretch (DWRITE_FONT_STRETCH stretch)
case DWRITE_FONT_STRETCH_ULTRA_EXPANDED:
pango2_stretch = PANGO2_STRETCH_ULTRA_EXPANDED;
break;
+ case DWRITE_FONT_STRETCH_UNDEFINED:
default:
- /* DWRITE_FONT_STRETCH_UNDEFINED */
pango2_stretch = PANGO2_STRETCH_NORMAL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]