Commit ab6e5df0 authored by Maxime Doyen's avatar Maxime Doyen

5.0.3 release

parent c27a1d24
......@@ -193,7 +193,7 @@ static gint csvtype[7] = {
void homebank_file_ensure_xhb(gchar *filename)
{
DB( g_print("\n[homebank] file_ensure_xhb\n") );
filename = (filename == NULL) ? GLOBALS->xhb_filepath : filename;
filename = (filename == NULL) ? g_strdup(GLOBALS->xhb_filepath) : filename;
if( g_str_has_suffix (filename, ".xhb") == FALSE )
{
gchar *newfilename;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment