X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fi18n.c;h=70780eff968a6ec62c071da23229a4ebaac49fcc;hb=290077732ca206c99fe3d83697b38ff53af83361;hp=c214fb55b0a0147514949e03311be172099276dc;hpb=2ad5fe55e454b8ccb271a710e2c4b1b53c57fc8c;p=pspp diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c index c214fb55b0..70780eff96 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,