mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
config: Allow setting a key to the empty string
This commit is contained in:
parent
a67bbf1ac4
commit
e11fb83bb7
Notes:
sideshowbarker
2024-07-17 11:31:21 +09:00
Author: https://github.com/doctor-rd Commit: https://github.com/SerenityOS/serenity/commit/e11fb83bb7 Pull-request: https://github.com/SerenityOS/serenity/pull/13813 Reviewed-by: https://github.com/sin-ack ✅
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (!value_to_write.is_empty()) {
|
||||
if (!value_to_write.is_null()) {
|
||||
Config::write_string(domain, group, key, value_to_write);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue