view pixmaps/gen-inline-pixbufs.sh @ 11461:5be73ebf6a15 v8.0.0614

patch 8.0.0614: float2nr() is not exactly right commit https://github.com/vim/vim/commit/863e80b4451b5102b41bebf9ddca3a420de746fa Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 4 20:30:00 2017 +0200 patch 8.0.0614: float2nr() is not exactly right Problem: float2nr() is not exactly right. Solution: Make float2nr() more accurate. Turn test64 into a new style test. (Hirohito Higashi, closes #1688)
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Jun 2017 20:45:04 +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