Commit 42b4fa66 authored by Maxime Doyen's avatar Maxime Doyen

5.0.6 beta1

parent 3c080ecf
......@@ -3,6 +3,4 @@ imagesdir = $(datadir)/homebank/help/images
images_DATA =
EXTRA_DIST = $(images_DATA)
......@@ -744,6 +744,7 @@ GList *list = NULL;
{
QIFSplit *s = &item->splits[nsplit];
Split *hbs;
guint32 kcat = 0;
DB( g_print(" -> append split %d: '%s' '%.2f' '%s'\n", nsplit, s->category, s->amount, s->memo) );
......@@ -752,14 +753,13 @@ GList *list = NULL;
catitem = da_cat_append_ifnew_by_fullname(s->category, TRUE ); // TRUE = imported
if( catitem != NULL )
{
DB( g_print(" -> append ok\n" ) );
hbs = da_split_new(catitem->key, s->amount, s->memo);
da_transaction_splits_append(newope, hbs);
hbs = NULL;
kcat = catitem->key;
}
}
hbs = da_split_new(kcat, s->amount, s->memo);
da_transaction_splits_append(newope, hbs);
hbs = NULL;
}
}
......
......@@ -1091,7 +1091,7 @@ gint changes = 0;
if(split->kcat != rul->kcat) { changed = TRUE; }
split->kcat = rul->kcat;
}
}
}
}
......
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