diff --git a/src/servers/app/server/AccelerantDriver.cpp b/src/servers/app/server/AccelerantDriver.cpp index ca05163ba9..6351d7b59d 100644 --- a/src/servers/app/server/AccelerantDriver.cpp +++ b/src/servers/app/server/AccelerantDriver.cpp @@ -368,7 +368,7 @@ void AccelerantDriver::DrawString(const char *string, int32 length, BPoint pt, L FT_Face face; FT_GlyphSlot slot; FT_Matrix rmatrix,smatrix; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta,space,nonspace; int16 error=0; int32 strlength,i; @@ -2494,7 +2494,7 @@ float AccelerantDriver::StringWidth(const char *string, int32 length, LayerData FT_Face face; FT_GlyphSlot slot; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta; int16 error=0; int32 strlength,i; diff --git a/src/servers/app/server/BitmapDriver.cpp b/src/servers/app/server/BitmapDriver.cpp index 70b741cb52..1ace94b47a 100644 --- a/src/servers/app/server/BitmapDriver.cpp +++ b/src/servers/app/server/BitmapDriver.cpp @@ -1517,7 +1517,7 @@ float BitmapDriver::StringWidth(const char *string, int32 length, LayerData *d) FT_Face face; FT_GlyphSlot slot; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta; int16 error=0; int32 strlength,i; @@ -1665,7 +1665,7 @@ void BitmapDriver::DrawString(const char *string, int32 length, BPoint pt, Layer FT_Face face; FT_GlyphSlot slot; FT_Matrix rmatrix,smatrix; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta,space,nonspace; int16 error=0; int32 strlength,i; diff --git a/src/servers/app/server/ScreenDriver.cpp b/src/servers/app/server/ScreenDriver.cpp index 6f3d550b3f..f457f4d89b 100644 --- a/src/servers/app/server/ScreenDriver.cpp +++ b/src/servers/app/server/ScreenDriver.cpp @@ -908,7 +908,7 @@ float ScreenDriver::StringWidth(const char *string, int32 length, LayerData *d) FT_Face face; FT_GlyphSlot slot; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta; int16 error=0; int32 strlength,i; @@ -1025,7 +1025,7 @@ void ScreenDriver::DrawString(const char *string, int32 length, BPoint pt, Layer FT_Face face; FT_GlyphSlot slot; FT_Matrix rmatrix,smatrix; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta,space,nonspace; int16 error=0; int32 strlength,i; diff --git a/src/servers/app/server/ViewDriver.cpp b/src/servers/app/server/ViewDriver.cpp index 0f1d9e28a0..409c6a7285 100644 --- a/src/servers/app/server/ViewDriver.cpp +++ b/src/servers/app/server/ViewDriver.cpp @@ -1222,7 +1222,7 @@ float ViewDriver::StringWidth(const char *string, int32 length, LayerData *d) FT_Face face; FT_GlyphSlot slot; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta; int16 error=0; int32 strlength,i; @@ -1339,7 +1339,7 @@ void ViewDriver::DrawString(const char *string, int32 length, BPoint pt, LayerDa FT_Face face; FT_GlyphSlot slot; FT_Matrix rmatrix,smatrix; - FT_UInt glyph_index, previous=0; + FT_UInt glyph_index=0, previous=0; FT_Vector pen,delta,space,nonspace; int16 error=0; int32 strlength,i;