summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/fontmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/fontmap.c')
-rw-r--r--Build/source/texk/dvipng/fontmap.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/Build/source/texk/dvipng/fontmap.c b/Build/source/texk/dvipng/fontmap.c
index 062374972a7..496a41d6488 100644
--- a/Build/source/texk/dvipng/fontmap.c
+++ b/Build/source/texk/dvipng/fontmap.c
@@ -4,21 +4,22 @@
Part of the dvipng distribution
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
- You should have received a copy of the GNU Lesser General Public
- License along with this program. If not, see
- <http://www.gnu.org/licenses/>.
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301 USA.
- Copyright (C) 2002-2008 Jan-Åke Larsson
+ Copyright (C) 2002-2005 Jan-Åke Larsson
************************************************************************/
@@ -143,8 +144,8 @@ struct psfontmap *SearchPSFontMap(char* fontname,
if (pos==end && search_mmap!=searching_mmap) {
searching_mmap=search_mmap;
- pos=searching_mmap->data;
- end=searching_mmap->data+searching_mmap->size;
+ pos=searching_mmap->dp_mmap;
+ end=searching_mmap->dp_mmap+searching_mmap->size;
}
while(pos<end && (entry==NULL || strcmp(entry->tfmname,fontname)!=0)) {
while(pos < end