all repos — tint2 @ 04fe80b49802a0505eb62331dbcd324bb9b537c7

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

copy_file(): prevent truncating file if src == dest
o9000 o9000
commit

04fe80b49802a0505eb62331dbcd324bb9b537c7

parent

60657c98099e7db2deb02df4318ff147c8f8b07b

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/util/common.csrc/util/common.c

@@ -35,6 +35,9 @@

void copy_file(const char *pathSrc, const char *pathDest) { + if (g_str_equal(pathSrc, pathDest)) + return; + FILE *fileSrc, *fileDest; char buffer[100]; int nb;