mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
Global: replaces __attribute__ to C23 [[attribute]]
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "common/strutil.h"
|
||||
#include "common/wcwidth.h"
|
||||
|
||||
uint8_t ffUtf8CharLenWidth(const char* str, uint32_t length, uint8_t* width) {
|
||||
if (__builtin_expect(length == 0 || *str == '\0', false)) {
|
||||
|
||||
Reference in New Issue
Block a user