Haikudepot: Fix PVS 856
Fix 'true' value becomes a class object. Change-Id: I7d36c024a9fec7c9649765370f529de2df44d7cb Reviewed-on: https://review.haiku-os.org/c/868 Reviewed-by: Axel Dörfler <[email protected]>
This commit is contained in:
committed by
Axel Dörfler
parent
7c7d9013db
commit
ddd56c013d
@@ -385,7 +385,7 @@ bool
|
|||||||
App::_LoadSettings(BMessage& settings)
|
App::_LoadSettings(BMessage& settings)
|
||||||
{
|
{
|
||||||
if (!fSettingsRead) {
|
if (!fSettingsRead) {
|
||||||
fSettings = true;
|
fSettingsRead = true;
|
||||||
if (load_settings(&fSettings, KEY_MAIN_SETTINGS, "HaikuDepot") != B_OK)
|
if (load_settings(&fSettings, KEY_MAIN_SETTINGS, "HaikuDepot") != B_OK)
|
||||||
fSettings.MakeEmpty();
|
fSettings.MakeEmpty();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user