From a30b6a91a186d7e06555e43834cd17bbb8dd2fab Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Mon, 8 Aug 2005 11:04:20 +0000 Subject: [PATCH] Revert to previous behaviour of detecting names with non-alphanumeric characters as ones with offsets, but add in a special case for an empty name. --- dlls/oleaut32/typelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 6b422b8ebe6..8f4a3fb5604 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -2916,7 +2916,7 @@ static SLTG_TypeInfoTail *SLTG_ProcessInterface(char *pBlk, ITypeInfoImpl *pTI, paramName = NULL; HaveOffs = TRUE; } - else if((unsigned char)paramName[-1] == 0xff) + else if(paramName[-1] && !isalnum(paramName[-1])) HaveOffs = TRUE; pArg++;