r22262 - gnucash/branches/2.4/src/gnome-utils - [22260]Rewrite the tip-of-the-day parsing logic
Geert Janssens
gjanssens at code.gnucash.org
Sat Jul 7 12:10:55 EDT 2012
Author: gjanssens
Date: 2012-07-07 12:10:54 -0400 (Sat, 07 Jul 2012)
New Revision: 22262
Trac: http://svn.gnucash.org/trac/changeset/22262
Modified:
gnucash/branches/2.4/src/gnome-utils/dialog-totd.c
Log:
[22260]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.
More information about the gnucash-patches
mailing list