view pixmaps/gen-inline-pixbufs.sh @ 20951:64c1b0796c46 v8.2.1027

patch 8.2.1027: GUI: multi-byte characters do not work in a terminal Commit: https://github.com/vim/vim/commit/820ffa567c5a4bc0d3517c79c91d63d8062c358e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 21 15:09:14 2020 +0200 patch 8.2.1027: GUI: multi-byte characters do not work in a terminal Problem: GUI: multi-byte characters do not work in a terminal. Solution: Do not assume a key is one byte. (closes https://github.com/vim/vim/issues/6304)
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Jun 2020 15:15:03 +0200
parents 3fc0f57ecb91
children d4faa2c5211b
line wrap: on
line source

#! /bin/sh

prefix=stock_
list=

for file in "$@"
do
    name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'`
    list="$list $prefix$name $file"
done

gdk-pixbuf-csource --raw --static --build-list $list