Convert the default currency preferences over to gconf.
Derek Atkins
warlord at MIT.EDU
Sun Sep 25 08:38:40 EDT 2005
Two comments.
1) Please use "diff -u" and not "diff" when sending in diffs. It's
much easier
to read a unified diff.
2) You can just use "safe_strcmp()"
-derek
Quoting Didier Vidal <didier-devel at 9online.fr>:
> I had to make this patch locally to avoid a crash with gnucash:
>
> [vidal at oscar3 app-utils]$ cvs diff *.c
> Index: global-options.c
> ===================================================================
> RCS file: /home/cvs/cvsroot/gnucash/src/app-utils/global-options.c,v
> retrieving revision 1.6.4.4
> diff -r1.6.4.4 global-options.c
> 398c398
> < if (strcmp(choice, "other") == 0) {
> ---
>> if (choice && strcmp(choice, "other") == 0) {
> 421c421
> < if (strcmp(choice, "other") == 0) {
> ---
>> if (choice && strcmp(choice, "other") == 0) {
>
>
>
> Le sam 24/09/2005 à 22:28, David Hampton a écrit :
>> Log Message:
>> -----------
>> Convert the default currency preferences over to gconf.
>>
>> Tags:
>> ----
>> gnucash-gnome2-dev
>>
>> Modified Files:
>> --------------
>> gnucash:
>> ChangeLog
>> gnucash/src/app-utils:
>> global-options.c
>> prefs.scm
>> gnucash/src/gnome/schemas:
>> apps_gnucash_general.schemas
>> gnucash/src/gnome-utils:
>> dialog-preferences.c
>> preferences.glade
>> _______________________________________________
>> gnucash-patches mailing list
>> gnucash-patches at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-patches
>
> _______________________________________________
> gnucash-patches mailing list
> gnucash-patches at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-patches
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-patches
mailing list