Commit 4fa89979 authored by Per Cederqvist's avatar Per Cederqvist

(foutput_text_list): Don't get stuck in an eternal loop.

parent ceb2fcf4
/* /*
* $Id: ram-output.c,v 0.32 1999/05/24 09:34:34 ceder Exp $ * $Id: ram-output.c,v 0.33 1999/05/24 15:28:12 ceder Exp $
* Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association. * Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#endif #endif
static const char * static const char *
rcsid = "$Id: ram-output.c,v 0.32 1999/05/24 09:34:34 ceder Exp $"; rcsid = "$Id: ram-output.c,v 0.33 1999/05/24 15:28:12 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -623,7 +623,7 @@ foutput_text_list(FILE *fp, ...@@ -623,7 +623,7 @@ foutput_text_list(FILE *fp,
{ {
fputs(" {", fp); fputs(" {", fp);
while (first < end) while (first < end)
foutput_ulong((unsigned long)l2g_lookup(text_list, first), fp); foutput_ulong((unsigned long)l2g_lookup(text_list, first++), fp);
fputs(" }", fp); fputs(" }", fp);
} }
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment