From d1eb31dceb84b0881f073b00aab92d58d67d03f6 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 12 May 2003 19:11:19 +0000 Subject: [PATCH] Small hex fix --- mbcico/binkp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbcico/binkp.c b/mbcico/binkp.c index 3b57cc0a..1cb590ed 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -261,8 +261,9 @@ char *binkp2unix(char *fn) while (*p) { if (p[0] == '\\') { + p++; hex[0] = *p++; - hex[1] = *p++; + hex[1] = *p; hex[2] = '\0'; Syslog('b', "binkp2unix hex=%s", hex); sscanf(hex, "%2x", &c);