r15682 - gnucash/trunk/src/gnome-utils - Fix tip of the day dialog on Windows.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Mar 6 19:27:53 EST 2007


Author: andi5
Date: 2007-03-06 19:27:50 -0500 (Tue, 06 Mar 2007)
New Revision: 15682
Trac: http://svn.gnucash.org/trac/changeset/15682

Modified:
   gnucash/trunk/src/gnome-utils/dialog-totd.c
Log:
Fix tip of the day dialog on Windows.

On Windows, entries in tip_of_the_day.list are separated by five
newlines.  This led to empty strings in the dialog that got translated
to the head part of xy.po.  Fix this by replacing all substrings of its
contents of more than two newlines by \n\n and also removing leading and
trailing \n\n.




More information about the gnucash-patches mailing list