projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b670ef5
)
text seems to be in the right spot now.
author
Dana Jansens
<danakj@orodu.net>
Sun, 8 Jun 2003 04:17:48 +0000
(
04:17
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 8 Jun 2003 04:17:48 +0000
(
04:17
+0000)
glft/render.c
patch
|
blob
|
history
diff --git
a/glft/render.c
b/glft/render.c
index 3f85a89d9d7e517f43288b68ba245b32c4430202..6b759102722b79e71cb76eddf46cd065630c21da 100644
(file)
--- a/
glft/render.c
+++ b/
glft/render.c
@@
-56,7
+56,7
@@
static void drawstring(struct GlftFont *font, const char *str, int bytes,
const char *c;
struct GlftGlyph *g, *p = NULL;
- y += font->descent
- 1; /* XXX why -1? it works tho, it seems..
*/
+ y += font->descent
/2; /* XXX fixme
*/
glColor4f(color->r, color->g, color->b, color->a);
glPushMatrix();