From 2bb2ceec33aadc2623b97bdc2854d3b683652ed2 Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 2 Jun 2004 21:20:18 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3067 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ld65/config.c b/src/ld65/config.c index cf519e046..6ee1b6ad8 100644 --- a/src/ld65/config.c +++ b/src/ld65/config.c @@ -1472,7 +1472,7 @@ void CfgAssignSegments (void) } /* If this is the run area, set the start address of this segment, - * set the readonly flag in the segment and and remember if the + * set the readonly flag in the segment and and remember if the * segment is in a relocatable file or not. */ if (S->Run == M) { @@ -1539,7 +1539,7 @@ void CfgAssignSegments (void) sprintf (Buf, "__%s_SIZE__", GetString (M->Name)); CreateConstExport (GetStringId (Buf), M->Size); sprintf (Buf, "__%s_LAST__", GetString (M->Name)); - CreateConstExport (GetStringId (Buf), M->FillLevel); + CreateMemoryExport (GetStringId (Buf), M, M->FillLevel); } /* Next memory area */