diff options
Diffstat (limited to 'src/windows/identity/ui/makeacceldef.pl')
-rw-r--r-- | src/windows/identity/ui/makeacceldef.pl | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/windows/identity/ui/makeacceldef.pl b/src/windows/identity/ui/makeacceldef.pl deleted file mode 100644 index d1cfb2dd2..000000000 --- a/src/windows/identity/ui/makeacceldef.pl +++ /dev/null @@ -1,29 +0,0 @@ -# - -die "Please specify input and output filenames" if($#ARGV != 1); - -open INF, '<', $ARGV[0] or die "Can't open input file"; -open OUF, '>', $ARGV[1] or die "Can't open output file"; - -print OUF <<EOS; -#include<khimaira.h> - - khui_accel_def khui_accel_global[] = { -EOS - -# skip first line - <INF>; - -while(<INF>) { - print OUF "{".$_."},\n"; -} - -print OUF <<EOS; -}; - -int khui_n_accel_global = sizeof(khui_accel_global) / sizeof(khui_accel_def); - -EOS - -close INF; -close OUF; |