From 61b5182dbde04700951263529bca508a0a88aa46 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 6 Feb 2021 00:18:29 +0100 Subject: Clarify inline image setting's wording --- rc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc.c b/rc.c index b9a849f..a265fdc 100644 --- a/rc.c +++ b/rc.c @@ -86,7 +86,7 @@ static int OptionEncode = FALSE; #define CMT_IMAGE_SCALE N_("Scale of image (%)") #define CMT_IMGDISPLAY N_("External command to display image") #define CMT_IMAGE_MAP_LIST N_("Use link list of image map") -#define CMT_INLINE_IMG_PROTOCOL N_("Inline image protocol") +#define CMT_INLINE_IMG_PROTOCOL N_("Inline image display method") #endif #define CMT_MULTICOL N_("Display file names in multi-column format") #define CMT_ALT_ENTITY N_("Use ASCII equivalents to display entities") @@ -366,7 +366,7 @@ static struct sel_c graphic_char_str[] = { #ifdef USE_IMAGE static struct sel_c inlineimgstr[] = { - {N_S(INLINE_IMG_NONE), N_("none")}, + {N_S(INLINE_IMG_NONE), N_("external command")}, {N_S(INLINE_IMG_OSC5379), N_("mlterm")}, {N_S(INLINE_IMG_SIXEL), N_("sixel")}, {N_S(INLINE_IMG_ITERM2), N_("iterm2")}, @@ -435,12 +435,12 @@ struct param_ptr params1[] = { CMT_EXT_IMAGE_VIEWER, NULL}, {"image_scale", P_SCALE, PI_TEXT, (void *)&image_scale, CMT_IMAGE_SCALE, NULL}, + {"inline_img_protocol", P_INT, PI_SEL_C, (void *)&enable_inline_image, + CMT_INLINE_IMG_PROTOCOL, (void *)inlineimgstr}, {"imgdisplay", P_STRING, PI_TEXT, (void *)&Imgdisplay, CMT_IMGDISPLAY, NULL}, {"image_map_list", P_INT, PI_ONOFF, (void *)&image_map_list, CMT_IMAGE_MAP_LIST, NULL}, - {"inline_img_protocol", P_INT, PI_SEL_C, (void *)&enable_inline_image, - CMT_INLINE_IMG_PROTOCOL, (void *)inlineimgstr}, #endif {"fold_line", P_INT, PI_ONOFF, (void *)&FoldLine, CMT_FOLD_LINE, NULL}, {"show_lnum", P_INT, PI_ONOFF, (void *)&showLineNum, CMT_SHOW_NUM, NULL}, -- cgit v1.2.3