Mercurial > vim
comparison src/main.c @ 24140:af489e854955 v8.2.2611
patch 8.2.2611: conditions for startup tests are not exactly right
Commit: https://github.com/vim/vim/commit/f8c52e8d08de3fdf48db877d7d53d2d68c6ceb7b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 17 12:27:23 2021 +0100
patch 8.2.2611: conditions for startup tests are not exactly right
Problem: Conditions for startup tests are not exactly right.
Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
closes #7976)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 Mar 2021 12:30:03 +0100 |
parents | 40fe7d8a3c93 |
children | d3cabf12c991 |
comparison
equal
deleted
inserted
replaced
24139:f65896f473ed | 24140:af489e854955 |
---|---|
3540 main_msg(_("+reverse\t\tDon't use reverse video (also: +rv)")); | 3540 main_msg(_("+reverse\t\tDon't use reverse video (also: +rv)")); |
3541 main_msg(_("-xrm <resource>\tSet the specified resource")); | 3541 main_msg(_("-xrm <resource>\tSet the specified resource")); |
3542 #endif // FEAT_GUI_X11 | 3542 #endif // FEAT_GUI_X11 |
3543 #ifdef FEAT_GUI_GTK | 3543 #ifdef FEAT_GUI_GTK |
3544 mch_msg(_("\nArguments recognised by gvim (GTK+ version):\n")); | 3544 mch_msg(_("\nArguments recognised by gvim (GTK+ version):\n")); |
3545 main_msg(_("-background <color>\tUse <color> for the background (also: -bg)")); | |
3546 main_msg(_("-foreground <color>\tUse <color> for normal text (also: -fg)")); | |
3545 main_msg(_("-font <font>\t\tUse <font> for normal text (also: -fn)")); | 3547 main_msg(_("-font <font>\t\tUse <font> for normal text (also: -fn)")); |
3546 main_msg(_("-geometry <geom>\tUse <geom> for initial geometry (also: -geom)")); | 3548 main_msg(_("-geometry <geom>\tUse <geom> for initial geometry (also: -geom)")); |
3549 main_msg(_("-iconic\t\tStart Vim iconified")); | |
3547 main_msg(_("-reverse\t\tUse reverse video (also: -rv)")); | 3550 main_msg(_("-reverse\t\tUse reverse video (also: -rv)")); |
3548 main_msg(_("-display <display>\tRun Vim on <display> (also: --display)")); | 3551 main_msg(_("-display <display>\tRun Vim on <display> (also: --display)")); |
3549 main_msg(_("--role <role>\tSet a unique role to identify the main window")); | 3552 main_msg(_("--role <role>\tSet a unique role to identify the main window")); |
3550 main_msg(_("--socketid <xid>\tOpen Vim inside another GTK widget")); | 3553 main_msg(_("--socketid <xid>\tOpen Vim inside another GTK widget")); |
3551 main_msg(_("--echo-wid\t\tMake gvim echo the Window ID on stdout")); | 3554 main_msg(_("--echo-wid\t\tMake gvim echo the Window ID on stdout")); |