mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#5945 - Improve libedit library
Fixed a misplaced parenthesis, injected due to syncing from libedit CVS head.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: chared.c,v 1.35 2011/08/16 16:25:15 christos Exp $ */
|
||||
/* $NetBSD: chared.c,v 1.36 2011/10/23 17:37:55 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -200,7 +200,7 @@ c_delbefore1(EditLine *el)
|
||||
protected int
|
||||
ce__isword(Int p)
|
||||
{
|
||||
return Isalnum(p || Strchr(STR("*?_-.[]~="), p) != NULL);
|
||||
return Isalnum(p) || Strchr(STR("*?_-.[]~="), p) != NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user