AUDIT: r22260 - gnucash/trunk/src/gnome-utils - Rewrite the tip-of-the-day parsing logic

Geert Janssens gjanssens at code.gnucash.org
Sat Jul 7 12:04:20 EDT 2012


Author: gjanssens
Date: 2012-07-07 12:04:19 -0400 (Sat, 07 Jul 2012)
New Revision: 22260
Trac: http://svn.gnucash.org/trac/changeset/22260

Modified:
   gnucash/trunk/src/gnome-utils/dialog-totd.c
Log:
Rewrite the tip-of-the-day parsing logic
Since commit 22246, an empty tip of the day appears in the list of tips.
This is due to the way the file is parsed.
This commit rewrites the parsing logic to avoid such problems. As an
added bonus, you can now add newlines in tips by using '\n' in the
string.
BP



More information about the gnucash-patches mailing list