i18n: Use UTF8 macro instead of "UTF8" literal string.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 24 Sep 2010 03:40:03 +0000 (20:40 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 24 Sep 2010 03:40:03 +0000 (20:40 -0700)
I think that this was just a typo.

src/libpspp/i18n.c

index 6cb721a993df60ecd9fc3d4707a9d7b2d19dbeb4..c0deb119c0f3faa9c277ba0f3f931e856bd534e7 100644 (file)
@@ -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;