summaryrefslogtreecommitdiff
path: root/mnv/src/main.c
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-04 16:31:32 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-04 16:47:16 +0300
commit146c889dde5ef0908d66ab2c1e1aa6b6ceef6deb (patch)
tree773cb664c164bd46f7588286913cc4a4957e3ec6 /mnv/src/main.c
parent580d07d58fdf879a895878a456124a58040c2d3b (diff)
downloadProject-Tick-146c889dde5ef0908d66ab2c1e1aa6b6ceef6deb.tar.gz
Project-Tick-146c889dde5ef0908d66ab2c1e1aa6b6ceef6deb.zip
NOISSUE changed icons to mnv icons for mnv and removed localization support
MNV - MNV's not Vim 10.0.2 released Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'mnv/src/main.c')
-rw-r--r--mnv/src/main.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/mnv/src/main.c b/mnv/src/main.c
index e0a8d80c1f..0cfbb9048a 100644
--- a/mnv/src/main.c
+++ b/mnv/src/main.c
@@ -2907,21 +2907,7 @@ check_tty(mparm_T *parmp)
# endif
is_cygpty_used())
{
-# if defined(HAVE_BIND_TEXTDOMAIN_CODESET) \
- && defined(FEAT_GETTEXT)
- char *s, *tofree = NULL;
-
- // Set the encoding of the error message based on $LC_ALL or
- // other environment variables instead of 'encoding'.
- // Note that the message is shown on a Cygwin terminal (e.g.
- // mintty) which encoding is based on $LC_ALL or etc., not the
- // current codepage used by normal Win32 console programs.
- tofree = s = (char *)enc_locale_env(NULL);
- if (s == NULL)
- s = "utf-8"; // Use "utf-8" by default.
- (void)bind_textdomain_codeset(MNVPACKAGE, s);
- mnv_free(tofree);
-# endif
+
mch_errmsg(_("MNV: Error: This version of MNV does not run in a Cygwin terminal\n"));
exit(1);
}