diff options
Diffstat (limited to 'charset.c')
| -rw-r--r-- | charset.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/charset.c b/charset.c index 88978918e45f3..5441952a0db52 100644 --- a/charset.c +++ b/charset.c @@ -1,5 +1,5 @@  /* - * Copyright (C) 1984-2017  Mark Nudelman + * Copyright (C) 1984-2019  Mark Nudelman   *   * You may distribute under the terms of either the GNU General Public   * License or the Less License, as specified in the README file. @@ -245,7 +245,7 @@ icharset(name, no_error)   * Define a charset, given a locale name.   */  	static void -ilocale() +ilocale(VOID_PARAM)  {  	int c; @@ -315,7 +315,7 @@ setfmt(s, fmtvarptr, attrptr, default_fmt)   *   */  	static void -set_charset() +set_charset(VOID_PARAM)  {  	char *s; @@ -338,7 +338,7 @@ set_charset()  	 * LESSCHARSET is not defined: try LESSCHARDEF.  	 */  	s = lgetenv("LESSCHARDEF"); -	if (s != NULL && *s != '\0') +	if (!isnullenv(s))  	{  		ichardef(s);  		return; @@ -395,7 +395,7 @@ set_charset()   * Initialize charset data structures.   */  	public void -init_charset() +init_charset(VOID_PARAM)  {  	char *s;  | 
