diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-01 01:39:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-01 01:39:01 +0000 |
commit | 90bf936ffa01bb1c8fbb0351f896cbf9c4f81dd2 (patch) | |
tree | 29fa6c75f5600828b358e3c3e3e954d3069a6293 /gtk | |
parent | 14ffcc74bf875e6d2e6d895b1f2224fd55e33f14 (diff) |
From Chris Heath: fix up the check for printable ASCII done on Windows
not to include DEL as printable ASCII.
Also change the check in strutil.c to do it by redefining "isprint()",
as is done in "gtk/gtkglobals.h", rather than by #ifdeffing the point at
which the test is done.
svn path=/trunk/; revision=8118
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkglobals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkglobals.h b/gtk/gtkglobals.h index 5a445106e0..8e083271b2 100644 --- a/gtk/gtkglobals.h +++ b/gtk/gtkglobals.h @@ -1,7 +1,7 @@ /* gtkglobals.h * GTK-related Global defines, etc. * - * $Id: gtkglobals.h,v 1.21 2002/12/31 21:49:00 guy Exp $ + * $Id: gtkglobals.h,v 1.22 2003/08/01 01:39:01 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -50,7 +50,7 @@ void set_plist_sel_browse(gboolean); * the problem by escaping all characters that aren't printable ASCII. */ #undef isprint -#define isprint(c) (c >= 0x20 && c <= 0x7f) +#define isprint(c) (c >= 0x20 && c < 0x7f) #endif #endif |