summaryrefslogtreecommitdiffstats
path: root/listmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'listmenu.c')
-rw-r--r--listmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listmenu.c b/listmenu.c
index d9044cec..1643f263 100644
--- a/listmenu.c
+++ b/listmenu.c
@@ -83,7 +83,7 @@ static void parse_list_headers (CONTEXT *ctx, HEADER *hdr,
if ((msg = mx_open_message (ctx, hdr->msgno, 1)) != NULL)
{
- fseeko (msg->fp, hdr->offset, 0);
+ fseeko (msg->fp, hdr->offset, SEEK_SET);
linelen = LONG_STRING;
line = safe_malloc (linelen);