freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master fda0d9f 1/2: * graph/x11/grx11.c (gr_x11_surfac


From: Werner LEMBERG
Subject: [freetype2-demos] master fda0d9f 1/2: * graph/x11/grx11.c (gr_x11_surface_init): Fix C++ warnings.
Date: Mon, 1 Jul 2019 17:10:36 -0400 (EDT)

branch: master
commit fda0d9faee6f6b58dd1eb84797c698ccb5bba88b
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    * graph/x11/grx11.c (gr_x11_surface_init): Fix C++ warnings.
---
 ChangeLog         | 10 +++++++---
 graph/x11/grx11.c |  2 +-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7b5b668..f2b3645 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-07-01  Werner Lemberg  <address@hidden>
+
+       * graph/x11/grx11.c (gr_x11_surface_init): Fix C++ warnings.
+
 2019-06-25  Alexei Podtelezhnikov  <address@hidden>
 
        * src/ftgrid.c (bitmap_scale): Gray alternative to LCD bitmap...
@@ -11,7 +15,7 @@
        and clipping box instead of shifting outline.
        * src/ftgrid.c (grid_status_draw_outline): Tweaked.
        * graph/gblspans.h: Simplify.
-       * graph/grobjs.h (grSurface): Introduce `origin' byte. 
+       * graph/grobjs.h (grSurface): Introduce `origin' byte.
        * graph/gblblit.c: Silence compilation warning.
 
 2019-06-19  Alexei Podtelezhnikov  <address@hidden>
@@ -30,7 +34,7 @@
        [graph] Implement and register gray_span function.
 
        * graph/gblspans.h, graph/gblany.h (_gblender_spans_*): New functions.
-       * graph/grobjs.h (grSurface): New fields `gray_spans' and `gcolor'. 
+       * graph/grobjs.h (grSurface): New fields `gray_spans' and `gcolor'.
        * graph/gblblit.c (grSetSurfaceGamma): Initialize `gray_spans'.
        * graph/rules.mk: Add new file.
 
@@ -106,7 +110,7 @@
 
 2019-06-09  Alexei Podtelezhnikov  <address@hidden>
 
-       * src/ftcommon.[hc] (FTDemo_Display_Print): Use `const' qualifier. 
+       * src/ftcommon.[hc] (FTDemo_Display_Print): Use `const' qualifier.
        * src/ftdump.c (Print_Bytecode): Ditto.
        * src/ftmulti.c (new_header): Ditto.
        * src/ftstring.c (header): Ditto.
diff --git a/graph/x11/grx11.c b/graph/x11/grx11.c
index 9282a1d..aa60b8a 100644
--- a/graph/x11/grx11.c
+++ b/graph/x11/grx11.c
@@ -1329,7 +1329,7 @@ typedef  unsigned long   uint32;
 
     {
       XTextProperty         xtp = { (unsigned char*)"FreeType", 31, 8, 8 };
-      XSizeHints            xsh = { 0 };
+      XSizeHints            xsh = { };
       XSetWindowAttributes  xswa;
       unsigned long         xswa_mask = CWEventMask | CWCursor;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]