summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/enc.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-05-09 23:55:44 +0000
committerKarl Berry <karl@freefriends.org>2008-05-09 23:55:44 +0000
commit78d169458ffb8d121d56a1345471b5dbe3f17a2a (patch)
treea71178550f5c2c8d86ca984ace2991c989c8ab97 /Build/source/texk/dvipng/enc.c
parentcdbd4229611dea992c3febc811642483889342a8 (diff)
oops, clean build totally failed, back to 1.9 for now
git-svn-id: svn://tug.org/texlive/trunk@7999 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/enc.c')
-rw-r--r--Build/source/texk/dvipng/enc.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/Build/source/texk/dvipng/enc.c b/Build/source/texk/dvipng/enc.c
index 0ca2677c684..49c888bd780 100644
--- a/Build/source/texk/dvipng/enc.c
+++ b/Build/source/texk/dvipng/enc.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
************************************************************************/
@@ -52,8 +53,8 @@ struct encoding* InitEncoding(char* encoding)
}
encp->name=(char*)encp+sizeof(struct encoding);
strcpy(encp->name,encoding);
- pos=fmmap.data;
- max=fmmap.data+fmmap.size;
+ pos=fmmap.dp_mmap;
+ max=fmmap.dp_mmap+fmmap.size;
buf=encp->name+strlen(encoding)+1;
#define SKIPCOMMENT(x) if (*x=='%') while (x<max && *x!='\n') x++;
while(pos<max && *pos!='/') {