projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e1b5a
)
fixed invalid warning on running editors
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 26 Jul 2008 22:26:08 +0000
(22:26 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 26 Jul 2008 22:26:08 +0000
(22:26 +0000)
src/filedata.c
patch
|
blob
|
history
diff --git
a/src/filedata.c
b/src/filedata.c
index
9b8d8a6
..
109a302
100644
(file)
--- a/
src/filedata.c
+++ b/
src/filedata.c
@@
-1620,7
+1620,8
@@
gint file_data_verify_ci(FileData *fd)
DEBUG_1("Change checked: source and destination have different extensions: %s -> %s", fd->path, fd->change->dest);
}
- if (strcmp(fd->path, fd->change->dest) == 0)
+ if (fd->change->type != FILEDATA_CHANGE_UNSPECIFIED && /* FIXME this is now needed for running editors */
+ strcmp(fd->path, fd->change->dest) == 0)
{
ret |= CHANGE_WARN_SAME;
DEBUG_1("Change checked: source and destination is the same: %s -> %s", fd->path, fd->change->dest);