[pango/pango2] Silence compiler warning



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]