[Gnucash-changes] Correctly convert a scheme string to a C string.
David Hampton
hampton at cvs.gnucash.org
Fri Oct 7 00:22:58 EDT 2005
Log Message:
-----------
Correctly convert a scheme string to a C string.
Tags:
----
gnucash-gnome2-dev
Modified Files:
--------------
gnucash:
GNOME2_STATUS
gnucash/src/app-utils:
option-util.c
Revision Data
-------------
Index: GNOME2_STATUS
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/Attic/GNOME2_STATUS,v
retrieving revision 1.1.2.67
retrieving revision 1.1.2.68
diff -LGNOME2_STATUS -LGNOME2_STATUS -u -r1.1.2.67 -r1.1.2.68
--- GNOME2_STATUS
+++ GNOME2_STATUS
@@ -152,11 +152,6 @@
- Removing a report page should remove the report from the runtime.
- - Options
-
- - Drop-down lists have the correct number of elements, but no text for
- each element (and thus no width).
-
- Importing
- HBCI - Transaction templates eventually need to be converted from a GTK_CLIST
Index: option-util.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/app-utils/option-util.c,v
retrieving revision 1.19.4.11
retrieving revision 1.19.4.12
diff -Lsrc/app-utils/option-util.c -Lsrc/app-utils/option-util.c -u -r1.19.4.11 -r1.19.4.12
--- src/app-utils/option-util.c
+++ src/app-utils/option-util.c
@@ -933,7 +933,7 @@
scm_int2num(index));
if (name == SCM_UNDEFINED)
return NULL;
- if (!SCM_SYMBOLP(name))
+ if (!SCM_STRINGP(name))
return NULL;
return g_strdup(SCM_STRING_CHARS(name));
More information about the gnucash-changes
mailing list