[Gnucash-changes] fix indentation problems
Linas Vepstas
linas at cvs.gnucash.org
Fri Aug 27 18:46:37 EDT 2004
Log Message:
-----------
fix indentation problems
Modified Files:
--------------
gnucash/src/app-utils:
option-util.c
Revision Data
-------------
Index: option-util.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/app-utils/option-util.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -Lsrc/app-utils/option-util.c -Lsrc/app-utils/option-util.c -u -r1.25 -r1.26
--- src/app-utils/option-util.c
+++ src/app-utils/option-util.c
@@ -645,7 +645,7 @@
initialize_getters();
return gnc_guile_call1_symbol_to_string(getters.type,
- option->guile_option);
+ option->guile_option);
}
@@ -680,7 +680,7 @@
initialize_getters();
return gnc_guile_call1_to_string(getters.documentation,
- option->guile_option);
+ option->guile_option);
}
@@ -698,7 +698,7 @@
initialize_getters();
return gnc_guile_call1_to_procedure(getters.getter,
- option->guile_option);
+ option->guile_option);
}
@@ -716,7 +716,7 @@
initialize_getters();
return gnc_guile_call1_to_procedure(getters.setter,
- option->guile_option);
+ option->guile_option);
}
@@ -734,7 +734,7 @@
initialize_getters();
return gnc_guile_call1_to_procedure(getters.default_getter,
- option->guile_option);
+ option->guile_option);
}
@@ -752,7 +752,7 @@
initialize_getters();
return gnc_guile_call1_to_procedure(getters.value_validator,
- option->guile_option);
+ option->guile_option);
}
@@ -896,7 +896,7 @@
initialize_getters();
value = scm_call_2(getters.index_to_value, option->guile_option,
- scm_int2num(index));
+ scm_int2num(index));
return value;
}
@@ -923,7 +923,7 @@
initialize_getters();
name = scm_call_2(getters.index_to_name, option->guile_option,
- scm_int2num(index));
+ scm_int2num(index));
if (name == SCM_UNDEFINED)
return NULL;
@@ -952,7 +952,7 @@
initialize_getters();
help = scm_call_2(getters.index_to_description, option->guile_option,
- scm_int2num(index));
+ scm_int2num(index));
if (help == SCM_UNDEFINED)
return NULL;
@@ -1477,7 +1477,7 @@
if (old != NULL)
{
if (section->section_name != NULL)
- free(section->section_name);
+ free(section->section_name);
g_free(section);
section = old->data;
}
@@ -1487,7 +1487,7 @@
}
section->options = g_slist_insert_sorted(section->options, option,
- compare_option_tags);
+ compare_option_tags);
}
@@ -1591,7 +1591,7 @@
section_key.section_name = (char *) section_name;
section_node = g_slist_find_custom(odb->option_sections, §ion_key,
- compare_sections);
+ compare_sections);
if (section_node == NULL)
return NULL;
@@ -1733,7 +1733,7 @@
section = gnc_option_section(option);
gnc_send_gui_error(_("There is a problem with option %s:%s.\n%s"),
- section ? section : "(null)",
+ section ? section : "(null)",
name ? name : "(null)",
message ? message : "(null)");
@@ -1771,12 +1771,12 @@
section = section_node->data;
for (option_node = section->options; option_node;
- option_node = option_node->next) {
+ option_node = option_node->next) {
option = option_node->data;
if (option->changed)
- return TRUE;
+ return TRUE;
}
}
return FALSE;
@@ -1814,9 +1814,9 @@
if (option->changed)
{
- gnc_commit_option(option_node->data);
- changed_something = TRUE;
- option->changed = FALSE;
+ gnc_commit_option(option_node->data);
+ changed_something = TRUE;
+ option->changed = FALSE;
}
option_node = option_node->next;
@@ -2021,7 +2021,7 @@
{
value = scm_call_0(getter);
if (SCM_STRINGP(value))
- return gh_scm2newstr(value, NULL);
+ return gh_scm2newstr(value, NULL);
}
}
@@ -2086,7 +2086,7 @@
{
value = scm_call_0(getter);
if (SCM_SYMBOLP(value))
- return gh_symbol2newstr(value, NULL);
+ return gh_symbol2newstr(value, NULL);
}
}
@@ -2124,9 +2124,9 @@
gnc_option_db_lookup_date_option(GNCOptionDB *odb,
const char *section,
const char *name,
- gboolean *is_relative,
+ gboolean *is_relative,
Timespec *set_ab_value,
- char **set_rel_value,
+ char **set_rel_value,
Timespec *default_value)
{
GNCOption *option;
@@ -2230,7 +2230,7 @@
{
value = scm_call_0(getter);
if (SCM_NUMBERP(value))
- return scm_num2dbl(value, __FUNCTION__);
+ return scm_num2dbl(value, __FUNCTION__);
}
}
@@ -2513,9 +2513,9 @@
\********************************************************************/
gboolean
gnc_option_db_set_boolean_option(GNCOptionDB *odb,
- const char *section,
- const char *name,
- gboolean value)
+ const char *section,
+ const char *name,
+ gboolean value)
{
GNCOption *option;
SCM scm_value;
@@ -2553,9 +2553,9 @@
\********************************************************************/
gboolean
gnc_option_db_set_string_option(GNCOptionDB *odb,
- const char *section,
- const char *name,
- const char *value)
+ const char *section,
+ const char *name,
+ const char *value)
{
GNCOption *option;
SCM scm_value;
@@ -2695,8 +2695,8 @@
*/
gboolean gnc_dateformat_option_value_parse(SCM value, DateFormat *format,
- GNCDateMonthFormat *months,
- gboolean *years, char **custom)
+ GNCDateMonthFormat *months,
+ gboolean *years, char **custom)
{
SCM val;
char *str;
@@ -2717,8 +2717,8 @@
if (format) {
if (gnc_date_string_to_dateformat(str, format)) {
- free(str);
- break;
+ free(str);
+ break;
}
}
@@ -2733,8 +2733,8 @@
if (months) {
if (gnc_date_string_to_monthformat(str, months)) {
- free(str);
- break;
+ free(str);
+ break;
}
}
@@ -2766,7 +2766,7 @@
}
SCM gnc_dateformat_option_set_value(DateFormat format, GNCDateMonthFormat months,
- gboolean years, const char *custom)
+ gboolean years, const char *custom)
{
SCM value = SCM_EOL;
SCM val;
More information about the gnucash-changes
mailing list