Don't stringshare NULL

SVN revision: 29400
This commit is contained in:
Sebastian Dransfeld 2007-04-05 23:27:15 +00:00
parent e8aa8ed20b
commit 4837644559
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ e_order_new(const char *path)
eo = E_OBJECT_ALLOC(E_Order, E_ORDER_TYPE, _e_order_free);
if (!eo) return NULL;
eo->path = evas_stringshare_add(path);
if (path) eo->path = evas_stringshare_add(path);
_e_order_read(eo);
eo->monitor = ecore_file_monitor_add(path, _e_order_cb_monitor, eo);