summaryrefslogtreecommitdiff
path: root/backend/dvi/mdvi-lib/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/dvi/mdvi-lib/setup.c')
-rw-r--r--backend/dvi/mdvi-lib/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/dvi/mdvi-lib/setup.c b/backend/dvi/mdvi-lib/setup.c
index ba0c545d..881bed50 100644
--- a/backend/dvi/mdvi-lib/setup.c
+++ b/backend/dvi/mdvi-lib/setup.c
@@ -25,7 +25,7 @@
#include "mdvi.h"
#include "private.h"
-void mdvi_init_kpathsea(const char *program,
+void mdvi_init_kpathsea(const char *program,
const char *mfmode, const char *font, int dpi,
const char *texmfcnf)
{
@@ -33,7 +33,7 @@ void mdvi_init_kpathsea(const char *program,
/* Stop meaningless output generation. */
kpse_make_tex_discard_errors = FALSE;
-
+
p = strrchr(program, '/');
p = (p ? p + 1 : program);
kpse_set_program_name(program, p);