]> arthur.barton.de Git - netatalk.git/commitdiff
use the right number for num charset and max charset, from Hat
authordidg <didg>
Mon, 17 Sep 2007 12:45:25 +0000 (12:45 +0000)
committerdidg <didg>
Mon, 17 Sep 2007 12:45:25 +0000 (12:45 +0000)
include/atalk/unicode.h
libatalk/unicode/charcnv.c

index 3b93ad1c22772124fd55362f3ce0e57bb207cba8..c00e6e831157a39a3c284ad1f6d3ad193edeaed3 100644 (file)
@@ -62,7 +62,7 @@ typedef struct {
 /* this defines the charset types used in samba */
 typedef enum {CH_UCS2=0, CH_UTF8=1, CH_MAC=2, CH_UNIX=3, CH_UTF8_MAC=4} charset_t;
 
-#define NUM_CHARSETS 6
+#define NUM_CHARSETS 5
 
 /*
  *   for each charset we have a function that pulls from that charset to
index 7619b721b26357dd2c4b1811623b40a6ab6d8246..23e624e571e845d28783f396a973f38d476d06da 100644 (file)
@@ -66,7 +66,7 @@
  */
 
 
-#define MAX_CHARSETS 10
+#define MAX_CHARSETS 20
 
 #define CHECK_FLAGS(a,b) (((a)!=NULL) ? (*(a) & (b)) : 0 )