diff options
author | Alexander Schwinn <alexxcons@xfce.org> | 2021-09-08 17:32:23 +0200 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2021-09-08 17:49:47 +0200 |
commit | d4e8e137911b1a3ee4ac51d00de0c7af13d4ad44 (patch) | |
tree | a0ed48bf19d8ed90ff5b1480fbe13947c3273c43 /thunar/thunar-util.c | |
parent | 89c4ad9cb1e1780ed890c46dd52077d02d1cf0bd (diff) | |
download | thunar-d4e8e137911b1a3ee4ac51d00de0c7af13d4ad44.tar.gz |
Prevent crash on copy+paste of many files (Issue #649)
Diffstat (limited to 'thunar/thunar-util.c')
-rw-r--r-- | thunar/thunar-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thunar/thunar-util.c b/thunar/thunar-util.c index c57c5e77..b9d2560c 100644 --- a/thunar/thunar-util.c +++ b/thunar/thunar-util.c @@ -710,7 +710,7 @@ thunar_util_next_new_file_name (ThunarFile *dir, ThunarFile *file = files->data; const gchar *name = thunar_file_get_display_name (file); - if (strcmp (new_name, name) == 0) + if (g_strcmp0 (new_name, name) == 0) { found_duplicate = TRUE; break; |