pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pre-lexer 02/21] i18n: Use UTF8 macro instead of "UTF8" literal string.


From: Ben Pfaff
Subject: [pre-lexer 02/21] i18n: Use UTF8 macro instead of "UTF8" literal string.
Date: Thu, 23 Sep 2010 21:20:38 -0700

I think that this was just a typo.
---
 src/libpspp/i18n.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c
index 6cb721a..c0deb11 100644
--- a/src/libpspp/i18n.c
+++ b/src/libpspp/i18n.c
@@ -300,7 +300,7 @@ i18n_done (void)
 bool
 valid_encoding (const char *enc)
 {
-  iconv_t conv = iconv_open ("UTF8", enc);
+  iconv_t conv = iconv_open (UTF8, enc);
 
   if ( conv == (iconv_t) -1)
     return false;
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]