mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
Windows: support native Windows
This commit is contained in:
@@ -26,10 +26,13 @@ static void getLocaleFromEnv(FFstrbuf* locale)
|
||||
static void getLocaleFromCmd(FFstrbuf* locale)
|
||||
{
|
||||
ffStrbufAppendS(locale, setlocale(LC_ALL, NULL));
|
||||
|
||||
#ifdef LC_MESSAGES
|
||||
if(locale->length > 0)
|
||||
return;
|
||||
|
||||
ffStrbufAppendS(locale, setlocale(LC_MESSAGES, NULL));
|
||||
#endif
|
||||
}
|
||||
|
||||
void ffPrintLocale(FFinstance* instance)
|
||||
|
||||
Reference in New Issue
Block a user