mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Global: replaces NULL to nullptr
This commit is contained in:
@@ -65,7 +65,7 @@ bool ffPrintDisplay(FFDisplayOptions* options) {
|
||||
for (uint32_t i = 0; i < dsResult->displays.length; i++) {
|
||||
FFDisplayResult* result = FF_LIST_GET(FFDisplayResult, dsResult->displays, i);
|
||||
uint32_t moduleIndex = dsResult->displays.length == 1 ? 0 : i + 1;
|
||||
const char* displayType = result->type == FF_DISPLAY_TYPE_UNKNOWN ? NULL : result->type == FF_DISPLAY_TYPE_BUILTIN ? "Built-in"
|
||||
const char* displayType = result->type == FF_DISPLAY_TYPE_UNKNOWN ? nullptr : result->type == FF_DISPLAY_TYPE_BUILTIN ? "Built-in"
|
||||
: "External";
|
||||
|
||||
ffStrbufClear(&key);
|
||||
|
||||
Reference in New Issue
Block a user