diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-17 02:15:43 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-10-17 02:15:43 +0800 |
commit | 9c6bce4c376a2add62ed8ce0b2fef36e171161ff (patch) | |
tree | f3646a6b4b71c555590f0205453bc4fc7767996d /calendar/gui/migration.c | |
parent | 3c39e9cc89192c13787b7838b8054793ab624839 (diff) | |
download | gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.gz gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.bz2 gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.lz gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.xz gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.tar.zst gsoc2013-evolution-9c6bce4c376a2add62ed8ce0b2fef36e171161ff.zip |
Fixes #332101
svn path=/trunk/; revision=32902
Diffstat (limited to 'calendar/gui/migration.c')
-rw-r--r-- | calendar/gui/migration.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/migration.c b/calendar/gui/migration.c index 8bac76992f..feffff101f 100644 --- a/calendar/gui/migration.c +++ b/calendar/gui/migration.c @@ -248,7 +248,7 @@ get_source_name (ESourceGroup *group, const char *path) int i, j, starting_index; int num_elements; gboolean conflict; - GString *s = g_string_new (""); + GString *s = g_string_new (NULL); for (i = 0; p[i]; i ++) ; @@ -260,7 +260,6 @@ get_source_name (ESourceGroup *group, const char *path) /* check if it conflicts */ starting_index = i; do { - g_string_assign (s, ""); for (j = starting_index; j < num_elements; j += 2) { if (j != starting_index) g_string_append_c (s, '_'); |