about summary refs log tree commit diff stats
path: root/src/LYStyle.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-04-27 13:10:32 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-04-27 13:10:32 -0400
commita4a7d3a32615c1ea52c41ff149e291417fa1bdc8 (patch)
tree6cfdf5b2f8be8a0afd688b6b0c5e0c98bf19d542 /src/LYStyle.c
parenta08d955fa4048b5b5522919a7b36b800b0dda4aa (diff)
downloadlynx-snapshots-a4a7d3a32615c1ea52c41ff149e291417fa1bdc8.tar.gz
snapshot of project "lynx", label v2-8-2dev_25
Diffstat (limited to 'src/LYStyle.c')
-rw-r--r--src/LYStyle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYStyle.c b/src/LYStyle.c
index ae172168..cab00fa7 100644
--- a/src/LYStyle.c
+++ b/src/LYStyle.c
@@ -1,6 +1,6 @@
 /* character level styles for Lynx
  * (c) 1996 Rob Partington -- donated to the Lyncei (if they want it :-)
- * @Id: LYStyle.c 1.25 Fri, 23 Apr 1999 08:56:35 -0600 dickey @
+ * @Id: LYStyle.c 1.26 Tue, 27 Apr 1999 06:59:06 -0600 dickey @
  */
 #include <HTUtils.h>
 #include <HTML.h>
@@ -415,7 +415,7 @@ PUBLIC int style_readFromFile ARGS1(char*, file)
     style_initialiseHashTable();
     style_deleteStyleList();
 
-    while ((buffer = LYSafeGets(buffer, fh)) != NULL)
+    while (LYSafeGets(&buffer, fh) != NULL)
     {
 	LYTrimTrailing(buffer);
 	LYTrimTail(buffer);