X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fxpdf%2FGfxFont.h;h=62dfd0881ad24b9842f61e3cdf52d221ebb95825;hb=297cc1806d04fad24755c0e51eef94c85981bace;hp=df1e00ce15daac46668f81afe384f040495e0c65;hpb=ff0eecc9f0cbe4ecdaac00b5b04660777ad7c630;p=swftools.git diff --git a/pdf2swf/xpdf/GfxFont.h b/pdf2swf/xpdf/GfxFont.h index df1e00c..62dfd08 100644 --- a/pdf2swf/xpdf/GfxFont.h +++ b/pdf2swf/xpdf/GfxFont.h @@ -207,7 +207,7 @@ public: CharCodeToUnicode *getToUnicode(); // Return the character name associated with . - char *getCharName(int code) { return code>=256?0:enc[code]; } + char *getCharName(int code) { return enc[code]; } // Returns true if the PDF font specified an encoding. GBool getHasEncoding() { return hasEncoding; }