Mercurial > geeqie
comparison src/filedata.c @ 942:0f243d361ed2
fixed deleting of non-empty folder
author | nadvornik |
---|---|
date | Sun, 27 Jul 2008 08:40:47 +0000 |
parents | 77e6f7530c88 |
children | fd84847c8231 |
comparison
equal
deleted
inserted
replaced
941:36906129bbec | 942:0f243d361ed2 |
---|---|
1573 { | 1573 { |
1574 gint ret = CHANGE_OK; | 1574 gint ret = CHANGE_OK; |
1575 gchar *dir; | 1575 gchar *dir; |
1576 gchar *dest_dir = NULL; | 1576 gchar *dest_dir = NULL; |
1577 | 1577 |
1578 g_assert(fd->change); | 1578 if (!fd->change) |
1579 { | |
1580 DEBUG_1("Change checked: no change info: %s", fd->path); | |
1581 return ret; | |
1582 } | |
1579 | 1583 |
1580 if (!isname(fd->path)) | 1584 if (!isname(fd->path)) |
1581 { | 1585 { |
1582 /* this probably should not happen */ | 1586 /* this probably should not happen */ |
1583 ret |= CHANGE_NO_SRC; | 1587 ret |= CHANGE_NO_SRC; |