summaryrefslogtreecommitdiff
path: root/ui/gtk/bytes_view.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-21 15:01:45 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-21 15:01:45 +0000
commit746ee39329954d5bca8d62736844bc17b1d0516c (patch)
tree68d5e307aceec48b0813e29f32314c41673c56fb /ui/gtk/bytes_view.c
parentbe733f30414ceb85304396d30b9648b6afe283e5 (diff)
downloadwireshark-746ee39329954d5bca8d62736844bc17b1d0516c.tar.gz
Drop isprint.h use g_ascii_isprint() when this include hack was enabled.
svn path=/trunk/; revision=54327
Diffstat (limited to 'ui/gtk/bytes_view.c')
-rw-r--r--ui/gtk/bytes_view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/gtk/bytes_view.c b/ui/gtk/bytes_view.c
index dfbbcbc316..35dcab2dad 100644
--- a/ui/gtk/bytes_view.c
+++ b/ui/gtk/bytes_view.c
@@ -36,8 +36,6 @@
#include <string.h>
-#include "../isprint.h"
-
#include <epan/charsets.h>
#include <epan/packet.h>
#include <epan/prefs.h>
@@ -753,7 +751,7 @@ _bytes_view_line_common(BytesView *bv, void *data, const int org_off, int xx, in
EBCDIC_to_ASCII1(pd[off]) :
pd[off];
- str[cur++] = isprint(c) ? c : '.';
+ str[cur++] = g_ascii_isprint(c) ? c : '.';
} else
str[cur++] = ' ';