Re: [OasisOLC] BugFix Help Please

From: George Greer (
Date: 11/16/02

On Sat, 16 Nov 2002, Mythran wrote:

>> >When I type cedit again, everything is blank, as if I am using a blank
>> >structure again with no data loaded in it :(
>> That's because you are.
>config_info = OLC_CONFIG(d);  <-- cedit_save_internally()
>OLC_CONFIG(d) = config_info;  <-- cedit_setup()
> would it be blank if I am copying the data over like this? What do
>you mean it is because I am using a blank structure with no data?  I know I am
>freeing it, but right after, I am creating it and copying in the same routine.

Look at the line again; you're not copying data.

A detailed explanation is left an exercise for the reader because I have to
go meet some friends at a restaurant.  Hint: Investigate the '*' operator
in existing OasisOLC code.

George Greer

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT