freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * src/cff/cffparse.c (CFF_Field_Handler


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * src/cff/cffparse.c (CFF_Field_Handler): Some s/0/NULL/.
Date: Sun, 10 Sep 2023 03:04:39 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 446720a2
    by Alexei Podtelezhnikov at 2023-09-09T23:01:13-04:00
    * src/cff/cffparse.c (CFF_Field_Handler): Some s/0/NULL/.
    

1 changed file:

Changes:

  • src/cff/cffparse.c
    ... ... @@ -1064,7 +1064,7 @@
    1064 1064
                 code | CFFCODE,               \
    
    1065 1065
                 FT_FIELD_OFFSET( name ),      \
    
    1066 1066
                 FT_FIELD_SIZE( name ),        \
    
    1067
    -            0, 0, 0                       \
    
    1067
    +            NULL, 0, 0                    \
    
    1068 1068
               },
    
    1069 1069
     
    
    1070 1070
     #define CFF_FIELD_DELTA( code, name, max, id ) \
    
    ... ... @@ -1073,7 +1073,7 @@
    1073 1073
                 code | CFFCODE,                    \
    
    1074 1074
                 FT_FIELD_OFFSET( name ),           \
    
    1075 1075
                 FT_FIELD_SIZE_DELTA( name ),       \
    
    1076
    -            0,                                 \
    
    1076
    +            NULL,                              \
    
    1077 1077
                 max,                               \
    
    1078 1078
                 FT_FIELD_OFFSET( num_ ## name )    \
    
    1079 1079
               },
    
    ... ... @@ -1083,7 +1083,7 @@
    1083 1083
     
    
    1084 1084
     #include "cfftoken.h"
    
    1085 1085
     
    
    1086
    -    { 0, 0, 0, 0, 0, 0, 0 }
    
    1086
    +    { 0, 0, 0, 0, NULL, 0, 0 }
    
    1087 1087
       };
    
    1088 1088
     
    
    1089 1089
     
    
    ... ... @@ -1117,7 +1117,7 @@
    1117 1117
                 code | CFFCODE,               \
    
    1118 1118
                 FT_FIELD_OFFSET( name ),      \
    
    1119 1119
                 FT_FIELD_SIZE( name ),        \
    
    1120
    -            0, 0, 0,                      \
    
    1120
    +            NULL, 0, 0,                   \
    
    1121 1121
                 id                            \
    
    1122 1122
               },
    
    1123 1123
     
    
    ... ... @@ -1127,7 +1127,7 @@
    1127 1127
                 code | CFFCODE,                    \
    
    1128 1128
                 FT_FIELD_OFFSET( name ),           \
    
    1129 1129
                 FT_FIELD_SIZE_DELTA( name ),       \
    
    1130
    -            0,                                 \
    
    1130
    +            NULL,                              \
    
    1131 1131
                 max,                               \
    
    1132 1132
                 FT_FIELD_OFFSET( num_ ## name ),   \
    
    1133 1133
                 id                                 \
    
    ... ... @@ -1138,7 +1138,7 @@
    1138 1138
     
    
    1139 1139
     #include "cfftoken.h"
    
    1140 1140
     
    
    1141
    -    { 0, 0, 0, 0, 0, 0, 0, 0 }
    
    1141
    +    { 0, 0, 0, 0, NULL, 0, 0, NULL }
    
    1142 1142
       };
    
    1143 1143
     
    
    1144 1144
     
    


  • reply via email to

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