From e1f8376e85803caa723ffce6be74a3910605d0c9 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 17 Jun 2024 14:48:46 -0500 Subject: [PATCH] don't display locale fail error when using Momo --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 3b76170a0..68d40355f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -883,10 +883,12 @@ int main(int argc, char** argv) { } if (displayLocaleFailError) { +#ifndef HAVE_MOMO #ifdef __unix__ g.showError("could not load language!\napparently your system does not support this language correctly.\nmake sure you've generated language data by editing /etc/locale.gen\nand then running locale-gen as root."); #else g.showError("could not load language!\nthis is a bug!"); +#endif #endif }