From: Dmitry Stogov Date: Mon, 19 Feb 2007 17:29:19 +0000 (+0000) Subject: typo X-Git-Tag: php-5.2.2RC1~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=955d3e73e85c719aa06eefc3a0c81256522211a5;p=php typo --- diff --git a/ext/com_dotnet/com_olechar.c b/ext/com_dotnet/com_olechar.c index eb3f02907c..4e92cdd1af 100644 --- a/ext/com_dotnet/com_olechar.c +++ b/ext/com_dotnet/com_olechar.c @@ -44,7 +44,7 @@ PHPAPI OLECHAR *php_com_string_to_olestring(char *string, uint string_len, int c string_len++; } - if (strlen > 0) { + if (string_len > 0) { olestring = (OLECHAR*)safe_emalloc(sizeof(OLECHAR), string_len, 0); ok = MultiByteToWideChar(codepage, flags, string, string_len, olestring, string_len); } else {