about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/SGML.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2002-10-07 01:07:23 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2002-10-07 01:07:23 -0400
commit0cb11571ef3a2820a888b47eaa0ea3083e3b9b0f (patch)
tree1e65bf4510e41320b9428058bb20f3f6d6fdd648 /WWW/Library/Implementation/SGML.c
parentffc5ca31a759c93f4cb2af8aec4fe6e852161855 (diff)
downloadlynx-snapshots-0cb11571ef3a2820a888b47eaa0ea3083e3b9b0f.tar.gz
snapshot of project "lynx", label v2-8-5dev_9
Diffstat (limited to 'WWW/Library/Implementation/SGML.c')
-rw-r--r--WWW/Library/Implementation/SGML.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c
index 6497f8ea..a11532c2 100644
--- a/WWW/Library/Implementation/SGML.c
+++ b/WWW/Library/Implementation/SGML.c
@@ -1806,7 +1806,8 @@ top1:
     CTRACE2(TRACE_SGML, (tfp, "SGML before %s|%.*s|%c\n",
 	    state_name(context->state),
 	    string->size,
-	    string->data != NULL ? string->data : "", UCH(c)));
+	    NonNull(string->data),
+	    UCH(c)));
     switch(context->state) {
 
     case S_in_kanji:
@@ -4333,7 +4334,8 @@ top1:
     CTRACE2(TRACE_SGML, (tfp, "SGML after  %s|%.*s|%c\n",
 	    state_name(context->state),
 	    string->size,
-	    string->data != NULL ? string->data : "", UCH(c)));
+	    NonNull(string->data),
+	    UCH(c)));
 
 after_switch:
     /*