| commit | 01128fa35b0c16e91837ff213f2d4f7cd18d4377 | [log] [tgz] |
|---|---|---|
| author | Vladimir Pankratov <scriptkid@mail.ru> | Tue Aug 11 17:07:00 2009 +0500 |
| committer | Alexandre Julliard <julliard@winehq.org> | Tue Aug 11 17:29:30 2009 +0200 |
| tree | 303d7aa2c2d5e47028685826d6188f6b6b31a4db | |
| parent | 99538272d5b4ffc852f950dd3447a7072d6316ff [diff] |
hhctrl.ocx: Handle NULL param.
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c index a19e1e6..092e97e 100644 --- a/dlls/hhctrl.ocx/help.c +++ b/dlls/hhctrl.ocx/help.c
@@ -129,7 +129,7 @@ return FALSE; } - wsprintfW(buf, url_format, full_path, index[0] == '/' ? empty : slash, index); + wsprintfW(buf, url_format, full_path, (!index || index[0] == '/') ? empty : slash, index); /* FIXME: HACK */ if((ptr = strchrW(buf, '#')))