diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-24 22:13:37 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-24 22:13:37 -0400 |
commit | 249d47c5f7b59c70d990e2530445d3c6cba7aa12 (patch) | |
tree | f3b26263bc11066004bfaad645900a6f756ce2be /abaddon.cpp | |
parent | 5d8209cf10e007f087ff9c7ce023d0530a76815b (diff) | |
download | abaddon-portaudio-249d47c5f7b59c70d990e2530445d3c6cba7aa12.tar.gz abaddon-portaudio-249d47c5f7b59c70d990e2530445d3c6cba7aa12.zip |
initial font stuff
Diffstat (limited to 'abaddon.cpp')
-rw-r--r-- | abaddon.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/abaddon.cpp b/abaddon.cpp index 36033eb..0bb5f84 100644 --- a/abaddon.cpp +++ b/abaddon.cpp @@ -2,6 +2,7 @@ #include <memory> #include <string> #include <algorithm> +#include "platform.hpp" #include "discord/discord.hpp" #include "dialogs/token.hpp" #include "dialogs/editmessage.hpp" @@ -646,6 +647,8 @@ EmojiResource &Abaddon::GetEmojis() { } int main(int argc, char **argv) { + if (std::getenv("ABADDON_NO_FC") == nullptr) + Platform::SetupFonts(); #if defined(_WIN32) && defined(_MSC_VER) TCHAR buf[2] { 0 }; GetEnvironmentVariableA("GTK_CSD", buf, sizeof(buf)); |