X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fgltext.c;h=aa3e876e4e333d075b1e30220298f2b1cf977b83;hp=75073fb31a05ec30e73a29b984770e64a3d0a4f3;hb=96a411663168b0ba5432b407a83be55f3df0c802;hpb=bbd0773f2adde4927a6196361d4061e70bf48cd9 diff --git a/hacks/glx/gltext.c b/hacks/glx/gltext.c index 75073fb3..aa3e876e 100644 --- a/hacks/glx/gltext.c +++ b/hacks/glx/gltext.c @@ -389,9 +389,9 @@ text_extents (const char *string, int *wP, int *hP) if (w > *wP) *wP = w; *hP += line_height; - s++; lines++; if (*s == 0) break; + s++; } else s++;