Commit 4d2a3f76 by Dave Brolley Committed by Dave Brolley

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
parent 00aeceec
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> Wed Feb 10 10:35:05 1999 Jim Wilson <wilson@cygnus.com>
* tmp-emsgids.c: Delete. * tmp-emsgids.c: Delete.
......
...@@ -281,7 +281,10 @@ local_mb_cur_max () ...@@ -281,7 +281,10 @@ local_mb_cur_max ()
#ifdef CROSS_COMPILE #ifdef CROSS_COMPILE
return 1; return 1;
#else #else
return MB_CUR_MAX; if (MB_CUR_MAX > 0)
return MB_CUR_MAX;
return 1; /* default */
#endif #endif
} }
#endif /* MULTIBYTE_CHARS */ #endif /* MULTIBYTE_CHARS */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment