projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d035fc
)
Show new value for togged ":set strict-ssl!" too.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 17 Jul 2013 09:29:21 +0000
(11:29 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 17 Jul 2013 09:29:21 +0000
(11:29 +0200)
src/setting.c
patch
|
blob
|
history
diff --git
a/src/setting.c
b/src/setting.c
index
fa147fb
..
d89e8fe
100644
(file)
--- a/
src/setting.c
+++ b/
src/setting.c
@@
-526,7
+526,12
@@
static gboolean strict_ssl(const Setting *s, const SettingType type)
}
}
- value = type == SETTING_TOGGLE ? !value : (s->arg.i ? true : false);
+ if (type == SETTING_TOGGLE) {
+ value = !value;
+ print_value(s, &value);
+ } else {
+ value = s->arg.i;
+ }
g_object_set(vb.session, "ssl-strict", value, NULL);