ref: 9e185f32ce3e99c31d66c24e75d5033a3a3ac244
parent: b4e9ca42222e3672af82e20b1f8a6802ef2c05c8
author: David Turner <[email protected]>
date: Fri Dec 19 15:25:14 EST 2003
fixing compilation warning
--- a/src/bdf/bdfdrivr.c
+++ b/src/bdf/bdfdrivr.c
@@ -184,7 +184,7 @@
char *istr = NULL, *bstr = NULL;
char *sstr = NULL, *astr = NULL;
- int parts = 0, len = 0;
+ int parts = 0, len = 0;
face->style_flags = 0;
@@ -238,7 +238,7 @@
face->style_name = (char *)"Regular";
else
{
- char *style, *s;
+ char *style, *s;
unsigned int i;
@@ -386,7 +386,7 @@
else
root->family_name = 0;
- if ( ( error = bdf_interpret_style( face ) ) )
+ if ( ( error = bdf_interpret_style( face ) ) != 0 )
goto Exit;
root->num_glyphs = font->glyphs_size; /* unencoded included */
@@ -739,7 +739,7 @@
* BDF SERVICE
*
*/
-
+
static FT_Error
bdf_get_bdf_property( BDF_Face face,
const char* prop_name,
@@ -787,9 +787,9 @@
{
*acharset_encoding = face->charset_encoding;
*acharset_registry = face->charset_registry;
-
+
return 0;
- }
+ }
static const FT_Service_BDFRec bdf_service_bdf =
@@ -804,7 +804,7 @@
* SERVICES LIST
*
*/
-
+
static const FT_ServiceDescRec bdf_services[] =
{
{ FT_SERVICE_ID_BDF, &bdf_service_bdf },
--- a/src/pcf/pcfread.c
+++ b/src/pcf/pcfread.c
@@ -874,7 +874,7 @@
char *istr = NULL, *bstr = NULL;
char *sstr = NULL, *astr = NULL;
- int parts = 0, len = 0;
+ int parts = 0, len = 0;
face->style_flags = 0;
@@ -926,7 +926,7 @@
face->style_name = (char *)"Regular";
else
{
- char *style, *s;
+ char *style, *s;
unsigned int i;
@@ -1040,7 +1040,7 @@
if ( face->accel.constantWidth )
root->face_flags |= FT_FACE_FLAG_FIXED_WIDTH;
- if ( ( error = pcf_interpret_style( face ) ) )
+ if ( ( error = pcf_interpret_style( face ) ) != 0 )
goto Exit;
prop = pcf_find_property( face, "FAMILY_NAME" );