projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74cfe5c
)
Don't issue a warning if the TO and FROM encodings are identical.
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 17 May 2008 07:44:28 +0000
(07:44 +0000)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 17 May 2008 07:44:28 +0000
(07:44 +0000)
src/libpspp/i18n.c
patch
|
blob
|
history
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index c214fb55b0a0147514949e03311be172099276dc..70780eff968a6ec62c071da23229a4ebaac49fcc 100644
(file)
--- 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,