Missed this file during the last commit.

svn path=/trunk/; revision=6817
This commit is contained in:
Chris Lahey
2000-12-06 18:49:13 +00:00
parent a8463d6703
commit 655cd28a43

View File

@ -318,11 +318,13 @@ static int
compute_elision_length (GdkFont *font, const char *str, int max_width)
{
int len;
int l, left, right;
int l = 0, left, right;
int rbearing;
len = strlen (str);
g_assert (len > 0);
if (len <= 0)
return 0;
left = 0;
right = len;