Check that path exist before writing to it.

SVN revision: 29401
This commit is contained in:
Sebastian Dransfeld 2007-04-05 23:28:34 +00:00
parent 4837644559
commit a2cef5a9ac
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ _e_order_save(E_Order *eo)
FILE *f;
Evas_List *l;
if (!eo->path) return;
f = fopen(eo->path, "wb");
if (!f) return;