diff options
| author | Dmitry Stogov <dmitry@php.net> | 2007-02-19 17:29:19 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2007-02-19 17:29:19 +0000 |
| commit | 955d3e73e85c719aa06eefc3a0c81256522211a5 (patch) | |
| tree | 51a715d493aadb0548603acbe8c4031dd620f564 /ext/com_dotnet/com_olechar.c | |
| parent | f31b3b497de0745e4404c30e290b338f6e9ece76 (diff) | |
| download | php-git-955d3e73e85c719aa06eefc3a0c81256522211a5.tar.gz | |
typo
Diffstat (limited to 'ext/com_dotnet/com_olechar.c')
| -rw-r--r-- | ext/com_dotnet/com_olechar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
