aboutsummaryrefslogtreecommitdiffstats
path: root/epan/print.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-10-06 16:02:16 -0700
committerGerald Combs <gerald@wireshark.org>2014-10-06 23:34:56 +0000
commit6397ad43c2374ebde388041f2bd7ac925606a51e (patch)
tree61f1d8750280013b351747da381771f75230de90 /epan/print.c
parenta17067abb1ef9a42babe95d3eb9908d746992154 (diff)
Revert "Qt: Try to fix a Visual C++ encoding warning."
Revert gafa8c02 since it didn't work on Windows. Use a pragma to squelch Visual C++ instead. Qt's rich text renderer doesn't handle "&apos;". Replace it with "&#x27;". Remove a QDebug include. Change-Id: I0e6308efda74a4bc0e67ce841a50a0a9b68f4a8b Reviewed-on: https://code.wireshark.org/review/4511 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/print.c')
-rw-r--r--epan/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/print.c b/epan/print.c
index ed75265180..95124a5314 100644
--- a/epan/print.c
+++ b/epan/print.c
@@ -867,7 +867,7 @@ print_escaped_xml(FILE *fh, const char *unescaped_string)
fputs("&quot;", fh);
break;
case '\'':
- fputs("&apos;", fh);
+ fputs("&#x27;", fh);
break;
default:
if (g_ascii_isprint(*p))