Mercurial > hg
changeset 282:87d6ac21cd1b
Fix "Cannot unset option" bug
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 06 Jul 2005 22:27:08 +0100 |
parents | f562b9af2de7 |
children | 00b2377539ac |
files | mcabber/src/settings.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/settings.c Wed Jul 06 22:18:05 2005 +0100 +++ b/mcabber/src/settings.c Wed Jul 06 22:27:08 2005 +0100 @@ -108,7 +108,7 @@ for (t = val ; *t ; t++) ; for (t-- ; t >= val && isblank(*t) ; t--) ; - if (t < val) return FALSE; // no value (variable reset for example) + if (t < val) return TRUE; // no value (variable reset for example) *pval = g_strndup(val, t+1-val); return TRUE;