don't need to close and reopen a file in import config dialog

SVN revision: 75087
devs/princeamd/enlightenment-0.17-elive
Mike Blumenkrantz 11 years ago
parent b4fdb00c96
commit 163f21d4b5
  1. 3
      src/bin/e_import_config_dialog.c

@ -53,9 +53,8 @@ _import_edj_gen(E_Import_Config_Dialog *import)
printf("Error Creating tmp file: %s\n", strerror(errno));
return;
}
close(fd);
f = fopen(tmpn, "w");
f = fdopen(fd, "w");
if (!f)
{
printf("Cannot open %s for writing\n", tmpn);

Loading…
Cancel
Save