mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
in make_mbchar(), remove an unneeded assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2430 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
d8367986ce
commit
5f3695bdb5
@ -4,6 +4,8 @@ CVS code -
|
||||
always turned on. Changes to do_alt_speller(),
|
||||
handle_sigwinch(), and main(). (DLR)
|
||||
- chars.c:
|
||||
make_mbchar()
|
||||
- Remove unneeded assert. (DLR)
|
||||
move_mbleft()
|
||||
- Fix assert to reference the proper variable, so that nano
|
||||
builds with DEBUG defined again. (Mike Frysinger, found by
|
||||
|
@ -278,7 +278,7 @@ char *make_mbchar(int chr, int *chr_mb_len)
|
||||
{
|
||||
char *chr_mb;
|
||||
|
||||
assert(chr_mb != NULL && chr_mb_len != NULL);
|
||||
assert(chr_mb_len != NULL);
|
||||
|
||||
#ifdef NANO_WIDE
|
||||
if (!ISSET(NO_UTF8)) {
|
||||
|
Loading…
Reference in New Issue
Block a user