about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTHistory.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-04-23 12:35:00 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-04-23 12:35:00 -0400
commit2a94396ccd9cf5ade728c53e02cba28e06af4378 (patch)
tree0ee1558f3e81f97725d83250f944aafa4eb43d54 /WWW/Library/Implementation/HTHistory.c
parent84271e583d80f546251ea914a33f8c537fddbac7 (diff)
downloadlynx-snapshots-2a94396ccd9cf5ade728c53e02cba28e06af4378.tar.gz
snapshot of project "lynx", label v2-8-1dev_7
Diffstat (limited to 'WWW/Library/Implementation/HTHistory.c')
-rw-r--r--WWW/Library/Implementation/HTHistory.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/WWW/Library/Implementation/HTHistory.c b/WWW/Library/Implementation/HTHistory.c
index 232e4341..bbb87d0a 100644
--- a/WWW/Library/Implementation/HTHistory.c
+++ b/WWW/Library/Implementation/HTHistory.c
@@ -71,10 +71,9 @@ HTAnchor * HTHistory_moveBy
       }
       return destination;
     } else {
-      if (TRACE) fprintf(stderr, 
-      		"HTHistory_moveBy: offset by %+d goes out of list %p.\n",
-		offset, (void*)kids);
-      return NULL;
+        CTRACE(tfp, "HTHistory_moveBy: offset by %+d goes out of list %p.\n",
+		    offset, (void*)kids);
+        return NULL;
     }
   } else {  /* Was a parent */
     return NULL;  /* FIXME we could possibly follow the next link... */
@@ -148,10 +147,11 @@ int HTHistory_count
 */
 
 void HTHistory_leavingFrom
-  ARGS1 (HTAnchor *,anchor)
+    ARGS1 (HTAnchor *,anchor)
 {
-  if (HTList_removeLastObject (history))
-    HTList_addObject (history, anchor);
-  else
-    if (TRACE) fprintf(stderr, "HTHistory_leavingFrom: empty history !\n");
+    if (HTList_removeLastObject (history)) {
+        HTList_addObject (history, anchor);
+    } else {
+        CTRACE(tfp, "HTHistory_leavingFrom: empty history !\n");
+    }
 }