xconfig: merge code path to conf_write()
authorArnaud Lacombe <lacombar@gmail.com>
Tue, 24 May 2011 18:16:18 +0000 (14:16 -0400)
committerMichal Marek <mmarek@suse.cz>
Wed, 25 May 2011 13:05:07 +0000 (15:05 +0200)
commitd49e46875c11a09e80e76c66db90710369b8fe12
tree7a5b6400e49cffbcb708ac562cf50735a2c0d1d2
parentbdebd4892e05cc9068659f25af33c6b322034eb2
xconfig: merge code path to conf_write()

Avoid to have multiple path saving the config. This fixes an error check
miss when the window is being closed and the user requested the config
to be written.

Reported-by: Hiromu Yakura <hiromu1996@gmail.com>
Pointed-out-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/qconf.cc