From 65327ec111338c4d789ddccf98dbcfd1ce806e7d Mon Sep 17 00:00:00 2001 From: Martin Nilsson <nilsson@opera.com> Date: Mon, 26 May 2014 18:02:18 +0200 Subject: [PATCH] There is always a String.hex2string. --- lib/modules/_Image_PS.pmod | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/modules/_Image_PS.pmod b/lib/modules/_Image_PS.pmod index b8e9f208a0..df26ee69b9 100644 --- a/lib/modules/_Image_PS.pmod +++ b/lib/modules/_Image_PS.pmod @@ -94,12 +94,7 @@ object decode( string data, mapping|void options ) (len>0) && has_prefix(raw, init_tag + term)) { raw = raw[sizeof(init_tag+term)..len-1]; if (encoding == 2) { - // Decode the hex data. -#if constant(String.hex2string) raw = String.hex2string(raw - term); -#else - raw += Crypto.hex_to_string(raw - term); -#endif } if (sizeof(raw) == width*height*(ncols+nbws)) { array(string) rows = raw/width; -- GitLab