summaryrefslogtreecommitdiff
path: root/tree/font.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-12 07:01:39 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-12 07:01:39 +0100
commit67781c58fef0f94ea234341cea8e7e13646bc4a2 (patch)
tree97504921cb5ac011a8c06ca4964b1d333f6c5ac1 /tree/font.c
parent1be84ed1d4fbe44387222995a124a4f84ee55210 (diff)
downloadmupdf-67781c58fef0f94ea234341cea8e7e13646bc4a2.tar.xz
some renames
Diffstat (limited to 'tree/font.c')
-rw-r--r--tree/font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tree/font.c b/tree/font.c
index 91ba7954..14c09981 100644
--- a/tree/font.c
+++ b/tree/font.c
@@ -3,7 +3,7 @@
void
fz_initfont(fz_font *font, char *name)
{
- font->nrefs = 1;
+ font->refs = 1;
strlcpy(font->name, name, sizeof font->name);
font->wmode = 0;
@@ -34,14 +34,14 @@ fz_initfont(fz_font *font, char *name)
fz_font *
fz_keepfont(fz_font *font)
{
- font->nrefs ++;
+ font->refs ++;
return font;
}
void
fz_dropfont(fz_font *font)
{
- if (--font->nrefs == 0)
+ if (--font->refs == 0)
{
if (font->drop)
font->drop(font);