Some forward specifications specify the module name in uppercase (e.g. NTDLL), whereas Wine DLL names are always in lowercase (e.g. ntdll).
Signed-off-by: Jinoh Kang jinoh.kang.kr@gmail.com --- c2man.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c2man.pl b/c2man.pl index 883a888..b4226a0 100755 --- a/c2man.pl +++ b/c2man.pl @@ -1230,7 +1230,7 @@ sub output_spec($) if (@$_[$EXPORT_CALL] eq "forward") { if (@$_[$EXPORT_IMPNAME] =~ /^(?:([^.]*)((?:..*)?).)?([^.]*)$/) { - $line = @$_[$EXPORT_EXPNAME]." (forward to ".$3."() in {{".$1.$2."}}{{".$1."}})"; + $line = @$_[$EXPORT_EXPNAME]." (forward to ".$3."() in {{".$1.$2."}}{{".lc($1)."}})"; } } elsif (@$_[$EXPORT_CALL] eq "extern")