mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.
Wed Feb 10 13:59:18 1999 Dave Brolley <brolley@cygnus.com> * mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0. From-SVN: r25129
This commit is contained in:
parent
00aeceec1b
commit
4d2a3f76f2
@ -1,3 +1,7 @@
|
||||
Wed Feb 10 13:59:18 1999 Dave Brolley <brolley@cygnus.com>
|
||||
|
||||
* mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.
|
||||
|
||||
Wed Feb 10 10:35:05 1999 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* tmp-emsgids.c: Delete.
|
||||
|
@ -281,7 +281,10 @@ local_mb_cur_max ()
|
||||
#ifdef CROSS_COMPILE
|
||||
return 1;
|
||||
#else
|
||||
return MB_CUR_MAX;
|
||||
if (MB_CUR_MAX > 0)
|
||||
return MB_CUR_MAX;
|
||||
|
||||
return 1; /* default */
|
||||
#endif
|
||||
}
|
||||
#endif /* MULTIBYTE_CHARS */
|
||||
|
Loading…
Reference in New Issue
Block a user