From 599ede037055877d0bd0153751a8c21b46f214b9 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Mon, 7 Dec 2015 10:27:45 +0100 Subject: [PATCH] Use of wrong variable in ::get_gdatetime_from_string. --- src/datetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datetime.c b/src/datetime.c index f097661..a5787f2 100644 --- a/src/datetime.c +++ b/src/datetime.c @@ -393,7 +393,7 @@ GDateTime return NULL; } - str_tokens = g_strsplit_set (string, delimiters, -1); + str_tokens = g_strsplit_set (new_str, delimiters, -1); if (str_tokens == NULL) { g_free (delimiters); @@ -402,7 +402,7 @@ GDateTime return NULL; } - format_tokens = g_strsplit_set (format, delimiters, -1); + format_tokens = g_strsplit_set (new_format, delimiters, -1); if (format_tokens == NULL) { g_free (delimiters); -- 2.49.0