diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/fontmap.c | 2 | ||||
-rw-r--r-- | Build/source/texk/dvipdfmx/src/spc_html.c | 1 | ||||
-rw-r--r-- | Build/source/texk/dvipdfmx/src/specials.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfmx/src/fontmap.c b/Build/source/texk/dvipdfmx/src/fontmap.c index 4d321438c0d..fc2d894f3ab 100644 --- a/Build/source/texk/dvipdfmx/src/fontmap.c +++ b/Build/source/texk/dvipdfmx/src/fontmap.c @@ -422,7 +422,7 @@ fontmap_parse_mapdef (fontmap_rec *mrec, if (v < 0 || v > 16) WARN("Invalid valur for option 'p': %s", q); else { - mrec->opt.mapc |= v << 16; + mrec->opt.mapc = v << 16; } RELEASE(q); break; diff --git a/Build/source/texk/dvipdfmx/src/spc_html.c b/Build/source/texk/dvipdfmx/src/spc_html.c index fc9ad80bcc0..912839179d1 100644 --- a/Build/source/texk/dvipdfmx/src/spc_html.c +++ b/Build/source/texk/dvipdfmx/src/spc_html.c @@ -288,6 +288,7 @@ fqurl (const char *baseurl, const char *name) len += strlen(baseurl) + 1; /* we may want to add '/' */ q = NEW(len + 1, char); + *q = '\0'; if (baseurl && baseurl[0]) { char *p; strcpy(q, baseurl); diff --git a/Build/source/texk/dvipdfmx/src/specials.h b/Build/source/texk/dvipdfmx/src/specials.h index a52570ae31d..2be14952ea9 100644 --- a/Build/source/texk/dvipdfmx/src/specials.h +++ b/Build/source/texk/dvipdfmx/src/specials.h @@ -44,7 +44,7 @@ typedef int (*spc_handler_fn_ptr) (struct spc_env *, struct spc_arg *); struct spc_handler { const char *key; spc_handler_fn_ptr exec; -} spc_handler; +}; /* This should not use pdf_. */ extern void spc_set_verbose (void); |