kconfig: fix typo in change count initialization

Configuration needs saving when either of these conditions is true.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Roman Zippel 2006-04-09 17:27:28 +02:00 committed by Sam Ravnborg
parent 94f2505be3
commit b5ac4817de

View file

@ -325,7 +325,7 @@ int conf_read(const char *name)
sym->flags |= e->right.sym->flags & SYMBOL_NEW;
}
sym_change_count = conf_warnings && conf_unsaved;
sym_change_count = conf_warnings || conf_unsaved;
return 0;
}