mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Removed wrong code which made image processing break
SVN revision: 2475
This commit is contained in:
parent
8a3bac6fa0
commit
2d997ab95c
@ -23487,11 +23487,6 @@ int get_thumb_name(const char *file_name, char *thumb_name, int size, int index)
|
|||||||
strlcpy(thumb_name, str, size);
|
strlcpy(thumb_name, str, size);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
strlcpy(str, file_name, sizeof(str));
|
|
||||||
if (file_exist(str)) {
|
|
||||||
strlcpy(thumb_name, str, size);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user