} if(cfs[0] != 0) { cfs_write(f, line, makeline(line, 'c', cfs));
savescript(void){  char line[40];  /*  struct c64_fs_file f;*/  int f;  if((f = cfs_open("config.cfg", CFS_WRITE)) == -1) {    return;  }  if(theme[0] != 0) {    cfs_write(f, line, makeline(line, 't', theme));  }  if(driver[0] != 0) {    cfs_write(f, line, makeline(line, 'n', driver));  }  if(ipaddr[0] != 0) {    cfs_write(f, line, makeline(line, 'i', ipaddr));  }  if(netmask[0] != 0) {    cfs_write(f, line, makeline(line, 'm', netmask));  }  if(gateway[0] != 0) {    cfs_write(f, line, makeline(line, 'r', gateway));  }  if(dnsserver[0] != 0) {    cfs_write(f, line, makeline(line, 'd', dnsserver));  }    if(screensaver[0] != 0) {    cfs_write(f, line, makeline(line, 's', screensaver));  }    strcpy(line, ".\n\0\n\n\n");  cfs_write(f, line, strlen(line));    cfs_close(f);  }