mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
One more empty string test for PR#1527
This commit is contained in:
parent
45cdf40785
commit
7fbe42530f
@ -2293,7 +2293,7 @@ gnc_account_renumber_response_cb (GtkDialog *dialog,
|
||||
for (tmp = children, i = 1; tmp; tmp = g_list_next (tmp), i += 1)
|
||||
{
|
||||
gchar *str;
|
||||
if (strlen (prefix))
|
||||
if (prefix && *prefix)
|
||||
str = g_strdup_printf ("%s-%0*d", prefix,
|
||||
num_digits, interval * i);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user