view pixmaps/gen-inline-pixbufs.sh @ 29363:4e48651f2e48 v9.0.0024

patch 9.0.0024: may access part of typeahead buf that isn't filled Commit: https://github.com/vim/vim/commit/af043e12d9e5869c597de40b9a2517ae97ac72e7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 2 12:08:16 2022 +0100 patch 9.0.0024: may access part of typeahead buf that isn't filled Problem: May access part of typeahead buf that isn't filled. Solution: Check length of typeahead.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Jul 2022 13:15:02 +0200
parents d4faa2c5211b
children
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