Fixed behavior of GetTextExtentExPointW. It must always return the
[wine/testsucceed.git] / tools / winapi / trampoline
blob166c3497e8b6d060f6be89d72dfffac10f00c043
1 #! /usr/bin/perl -w
3 use strict;
5 require Cwd;
7 my $tool = $0;
8 $tool =~ s%^(?:.*?/)?([^/]+)$%$1%;
10 $_ = Cwd::cwd();
11 while($_) {
12 my $file = "$_/tools/winapi/$tool";
13 if(-e $file) {
14 exec("$file @ARGV");
16 s%/[^/]*$%%;
18 print STDERR "$0: $tool: can't link to command\n";