X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Ffps.c;h=5704337408f5bff2c9038ea4f0e5c61b61c94e5f;hp=44171730461de142a3d80c6cd9528bc075f3b1c7;hb=7edd66e6bd3209013ee059819747b10b5835635b;hpb=d5186197bc394e10a4402f7f6d23fbb14103bc50 diff --git a/hacks/fps.c b/hacks/fps.c index 44171730..57043374 100644 --- a/hacks/fps.c +++ b/hacks/fps.c @@ -1,4 +1,4 @@ -/* fps, Copyright (c) 2001-2011 Jamie Zawinski +/* fps, Copyright (c) 2001-2014 Jamie Zawinski * Draw a frames-per-second display (Xlib and OpenGL). * * Permission to use, copy, modify, distribute, and sell this software and its @@ -56,8 +56,7 @@ fps_init (Display *dpy, Window window) st->x = 10; st->y = 10; if (get_boolean_resource (dpy, "fpsTop", "FPSTop")) - /* don't leave a blank line in GL top-fps. */ - st->y = - (/*st->font->ascent +*/ st->font->descent + 10); + st->y = - (st->font->ascent + st->font->descent + 10); strcpy (st->string, "FPS: ... ");