projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i18n: Introduce C_ENCODING as replacement for LEGACY_NATIVE.
[pspp-builds.git]
/
src
/
libpspp
/
legacy-encoding.c
diff --git
a/src/libpspp/legacy-encoding.c
b/src/libpspp/legacy-encoding.c
index 18a621970c85da745917dcf2b179c9945862e13e..bbbf8a277ffba9f65fc02b03adc6dc2db2f051ef 100644
(file)
--- a/
src/libpspp/legacy-encoding.c
+++ b/
src/libpspp/legacy-encoding.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006
, 2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-24,7
+24,7
@@
char
legacy_to_native (const char *from, char c)
{
char x;
legacy_to_native (const char *from, char c)
{
char x;
- char *s = recode_string (
LEGACY_NATIVE
, from, &c, 1);
+ char *s = recode_string (
C_ENCODING
, from, &c, 1);
x = s[0];
free (s);
return x;
x = s[0];
free (s);
return x;
@@
-34,7
+34,7
@@
char
legacy_from_native (const char *to, char c)
{
char x;
legacy_from_native (const char *to, char c)
{
char x;
- char *s = recode_string (to,
LEGACY_NATIVE
, &c, 1);
+ char *s = recode_string (to,
C_ENCODING
, &c, 1);
x = s[0];
free (s);
return x;
x = s[0];
free (s);
return x;