diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-09-14 03:34:50 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-09-14 03:34:50 +0000 |
commit | 00653d612add044de9f941c7b2c562bebe60d1e8 (patch) | |
tree | 46f2e9aa6440270f015d3e9d3d17f4d4ed709691 /Build/source/texk/dvipdfm-x/specials.c | |
parent | fb833e57545c4b4d76e01406904fdfd83f057447 (diff) |
Cleanup. Remove duplicated code. Reorganize global variables. (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@48663 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/specials.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/specials.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Build/source/texk/dvipdfm-x/specials.c b/Build/source/texk/dvipdfm-x/specials.c index e931fdb4eed..9d396ac5aeb 100644 --- a/Build/source/texk/dvipdfm-x/specials.c +++ b/Build/source/texk/dvipdfm-x/specials.c @@ -30,6 +30,7 @@ #include "mem.h" #include "error.h" #include "numbers.h" +#include "dpxconf.h" #include "dvi.h" @@ -52,14 +53,6 @@ #include "specials.h" -static int verbose = 0; -void -spc_set_verbose (void) -{ - verbose++; -} - - void spc_warn (struct spc_env *spe, const char *fmt, ...) { @@ -571,7 +564,8 @@ spc_exec_special (const char *buffer, int32_t size, struct spc_arg args; struct spc_handler special; - if (verbose > 3) { + if (dpx_conf.verbose_level > 3) { + MESG("Executing special command: "); dump(buffer, buffer + size); } |