projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whitespace changes only.
[pspp]
/
src
/
libpspp
/
i18n.c
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index d3fca6a168825085d459aea9fcccca4a596945cb..fe749dff181cda0b6144010f74c171d97870a49a 100644
(file)
--- a/
src/libpspp/i18n.c
+++ b/
src/libpspp/i18n.c
@@
-264,10
+264,10
@@
recode_string_pool (const char *to, const char *from,
{
struct substring out;
{
struct substring out;
- if (
text == NULL
)
+ if (
text == NULL
)
return NULL;
return NULL;
- if (
length == -1
)
+ if (
length == -1
)
length = strlen (text);
out = recode_substring_pool (to, from, ss_buffer (text, length), pool);
length = strlen (text);
out = recode_substring_pool (to, from, ss_buffer (text, length), pool);
@@
-563,7
+563,7
@@
recode_substring_pool__ (const char *to, const char *from,
conv = create_iconv (to, from);
conv = create_iconv (to, from);
- if (
NULL == conv
)
+ if (
NULL == conv
)
{
if (fallbackchar)
{
{
if (fallbackchar)
{
@@
-685,7
+685,7
@@
set_encoding_from_locale (const char *loc)
loc_encoding = xstrdup (locale_charset ());
loc_encoding = xstrdup (locale_charset ());
- if (
0 == strcmp (loc_encoding, c_encoding))
+ if (0 == strcmp (loc_encoding, c_encoding))
{
ok = false;
}
{
ok = false;
}
@@
-737,7
+737,7
@@
valid_encoding (const char *enc)
{
iconv_t conv = iconv_open (UTF8, enc);
{
iconv_t conv = iconv_open (UTF8, enc);
- if (
conv == (iconv_t) -1)
+ if (conv == (iconv_t) -1)
return false;
iconv_close (conv);
return false;
iconv_close (conv);