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

index 9c2a495740586c494255f601e17dc6c796b5bdcd..e927b5eec24b2f55ef1373d8a6bfa164f9d58a7d 100644 (file)
@@ -64,7 +64,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 0071c68863c1ce03085c2749b36010325429ddb1..f560ad08cc2385a905ffc7ba1d6de24d0375c135 100644 (file)
@@ -66,7 +66,7 @@
  */
 
 
-#define MAX_CHARSETS 10
+#define MAX_CHARSETS 20
 
 #define CHECK_FLAGS(a,b) (((a)!=NULL) ? (*(a) & (b)) : 0 )