X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fi18n.c;h=70780eff968a6ec62c071da23229a4ebaac49fcc;hb=bd00412ff6cf29cf3b7744bf1045f53122eb46f7;hp=c214fb55b0a0147514949e03311be172099276dc;hpb=2ad5fe55e454b8ccb271a710e2c4b1b53c57fc8c;p=pspp-builds.git diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c index c214fb55..70780eff 100644 --- a/src/libpspp/i18n.c +++ b/src/libpspp/i18n.c @@ -46,7 +46,7 @@ create_iconv (const char* tocode, const char* fromcode) /* I don't think it's safe to translate this string or to use messaging as the convertors have not yet been set up */ - if ( (iconv_t) -1 == conv) + if ( (iconv_t) -1 == conv && 0 != strcmp (tocode, fromcode)) { const int err = errno; fprintf (stderr,