X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Flegacy-encoding.c;h=bbbf8a277ffba9f65fc02b03adc6dc2db2f051ef;hb=bc19562deb692e6db3271eb0402e9f9c99e4cbcb;hp=18a621970c85da745917dcf2b179c9945862e13e;hpb=28bebf0851bac332b55cdc03e55165dcc8e713c2;p=pspp-builds.git diff --git a/src/libpspp/legacy-encoding.c b/src/libpspp/legacy-encoding.c index 18a62197..bbbf8a27 100644 --- a/src/libpspp/legacy-encoding.c +++ b/src/libpspp/legacy-encoding.c @@ -1,5 +1,5 @@ /* 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 @@ -24,7 +24,7 @@ char 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; @@ -34,7 +34,7 @@ char 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;