> >.What this code is doing wrong is, > >when I save, none of the data is saved to the file. > > Is there a cedit_write_to_disk you didn't post? > Hmmm, cedit_save() :P And, the structure is blank before entering cedit_save so it isn't cedit_save. > >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() Hmmm...how 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. Mythran -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT