summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/cmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/cmap.c')
-rw-r--r--Build/source/texk/dvipdfm-x/cmap.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/Build/source/texk/dvipdfm-x/cmap.c b/Build/source/texk/dvipdfm-x/cmap.c
index 5e53027af02..f235ee420fd 100644
--- a/Build/source/texk/dvipdfm-x/cmap.c
+++ b/Build/source/texk/dvipdfm-x/cmap.c
@@ -45,21 +45,15 @@
#include "system.h"
#include "mem.h"
#include "error.h"
+#include "dpxconf.h"
#include "dpxutil.h"
#include "cmap_p.h"
#include "cmap.h"
-static int __verbose = 0;
static int __silent = 0;
void
-CMap_set_verbose (void)
-{
- __verbose++;
-}
-
-void
CMap_set_silent (int value)
{
__silent = value ? 1 : 0;
@@ -932,7 +926,7 @@ CMap_cache_find (const char *cmap_name)
return -1;
}
- if (__verbose)
+ if (dpx_conf.verbose_level > 0)
MESG("(CMap:%s", cmap_name);
if (__cache->num >= __cache->max) {
@@ -948,7 +942,7 @@ CMap_cache_find (const char *cmap_name)
DPXFCLOSE(fp);
- if (__verbose)
+ if (dpx_conf.verbose_level > 0)
MESG(")");
return id;