AUDIT: r17089 - gnucash/trunk/src/gnome - Look for Align_n keys in check printing formats (#467529)
Derek Atkins
warlord at cvs.gnucash.org
Thu Apr 17 10:16:09 EDT 2008
Author: warlord
Date: 2008-04-17 10:16:08 -0400 (Thu, 17 Apr 2008)
New Revision: 17089
Trac: http://svn.gnucash.org/trac/changeset/17089
Modified:
gnucash/trunk/src/gnome/dialog-print-check.c
Log:
Look for Align_n keys in check printing formats (#467529)
BP
Modified: gnucash/trunk/src/gnome/dialog-print-check.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.c 2008-04-16 21:26:57 UTC (rev 17088)
+++ gnucash/trunk/src/gnome/dialog-print-check.c 2008-04-17 14:16:08 UTC (rev 17089)
@@ -721,9 +721,9 @@
}
g_free(key);
+ key = g_strdup_printf("%s_%d", KF_KEY_ALIGN, item_num);
value =
- g_key_file_get_string(key_file, KF_GROUP_ITEMS, KF_KEY_ALIGN,
- &error);
+ g_key_file_get_string(key_file, KF_GROUP_ITEMS, key, &error);
if (!error) {
g_debug("Check file %s, group %s, key %s, value: %s",
file, KF_GROUP_ITEMS, key, value);
@@ -744,6 +744,7 @@
data->align = PANGO_ALIGN_LEFT;
g_clear_error(&error);
}
+ g_free(key);
}
/* Get any extra data for specific items. */
switch (data->type) {
More information about the gnucash-changes
mailing list