freetype-commit
[Top][All Lists]
Advanced

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

[freetype2-demos] master 657c7b5 2/2: * src/ftview.c: Remove obsolete co


From: Werner Lemberg
Subject: [freetype2-demos] master 657c7b5 2/2: * src/ftview.c: Remove obsolete comments.
Date: Sun, 8 Jan 2023 23:57:18 -0500 (EST)

branch: master
commit 657c7b5f11b1deb026c2b1b8d0110305c922af82
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    * src/ftview.c: Remove obsolete comments.
---
 src/ftview.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/ftview.c b/src/ftview.c
index 5ae7e7c..af5473f 100644
--- a/src/ftview.c
+++ b/src/ftview.c
@@ -184,10 +184,7 @@
 
     error = FTDemo_Get_Size( handle, &size );
     if ( error )
-    {
-      /* probably a non-existent bitmap font size */
       return -1;
-    }
 
     INIT_SIZE( size, start_x, start_y, step_y, x, y );
     face = size->face;
@@ -292,10 +289,7 @@
 
     error = FTDemo_Get_Size( handle, &size );
     if ( error )
-    {
-      /* probably a non-existent bitmap font size */
       return -1;
-    }
 
     INIT_SIZE( size, start_x, start_y, step_y, x, y );
     face = size->face;
@@ -438,10 +432,7 @@
 
     error = FTDemo_Get_Size( handle, &size );
     if ( error )
-    {
-      /* probably a non-existent bitmap font size */
       return -1;
-    }
 
     INIT_SIZE( size, start_x, start_y, step_y, x, y );
     face = size->face;
@@ -626,10 +617,7 @@
 
     error = FTDemo_Get_Size( handle, &size );
     if ( error )
-    {
-      /* probably a non-existent bitmap font size */
       return -1;
-    }
 
     INIT_SIZE( size, start_x, start_y, step_y, x, y );
 
@@ -1079,10 +1067,7 @@
 
     error = FTDemo_Get_Size( handle, &size );
     if ( error )
-    {
-      /* probably a non-existent bitmap font size */
       return 0;
-    }
 
     face = size->face;
 



reply via email to

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