projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
477b01a
)
Indentation fixes
author
Steven Luo
<steven+maemo@steven676.net>
Wed, 26 May 2010 14:36:30 +0000
(07:36 -0700)
committer
Steven Luo
<steven+maemo@steven676.net>
Wed, 26 May 2010 14:36:30 +0000
(07:36 -0700)
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index
727287f
..
0fbddf0
100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-108,12
+108,12
@@
static int swb_config_load_option(struct swb_config *cfg,
if (!(cfg->flags & opt.set_mask)) {
switch (opt.type) {
case SWB_CONFIG_OPT_STRING:
if (!(cfg->flags & opt.set_mask)) {
switch (opt.type) {
case SWB_CONFIG_OPT_STRING:
- *(char **)cfg->entries[i] = value;
- break;
+ *(char **)cfg->entries[i] = value;
+ break;
case SWB_CONFIG_OPT_INT:
case SWB_CONFIG_OPT_INT:
- *(int *)cfg->entries[i] = atoi(value);
- free(value);
- break;
+ *(int *)cfg->entries[i] = atoi(value);
+ free(value);
+ break;
}
cfg->flags |= opt.set_mask;
}
}
cfg->flags |= opt.set_mask;
}