mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
Global: replaces NULL to nullptr
This commit is contained in:
@@ -308,7 +308,7 @@ void ffGenerateLocalIpJsonConfig(FFLocalIpOptions* options, yyjson_mut_doc* doc,
|
||||
if (options->ipv6Type == FF_LOCALIP_IPV6_TYPE_AUTO) {
|
||||
yyjson_mut_obj_add_bool(doc, module, "showIpv6", !!(options->showType & FF_LOCALIP_TYPE_IPV6_BIT));
|
||||
} else {
|
||||
const char* str = NULL;
|
||||
const char* str = nullptr;
|
||||
switch (options->ipv6Type) {
|
||||
case FF_LOCALIP_IPV6_TYPE_GUA_BIT:
|
||||
str = "gua";
|
||||
|
||||
Reference in New Issue
Block a user