mirror of
https://github.com/reactos/reactos.git
synced 2024-11-25 12:33:34 +08:00
[CALC] Enable support for HTMLHELP (#1877)
Nowadays ReactOS includes support for htmlhelp.h and a working implementation of HHCTRL.OCX. Although current imported HHCTRL.OCX suffers of this issue: https://bugs.winehq.org/show_bug.cgi?id=47379 See also CORE-15019 + Revert 'intptr_t' to 'size_t'.
This commit is contained in:
parent
ca967db5ca
commit
055c5a9bb7
@ -1,6 +1,4 @@
|
||||
|
||||
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
|
||||
|
||||
list(APPEND SOURCE
|
||||
convert.c
|
||||
fun_ieee.c
|
||||
|
@ -49,7 +49,7 @@ dummy_HtmlHelpW(HWND hWnd, LPCWSTR pszFile, UINT uCommand, DWORD dwData)
|
||||
|
||||
void HtmlHelp_Start(HINSTANCE hInstance)
|
||||
{
|
||||
hHtmlHelp = LoadLibrary(_T("HTMLHELP"));
|
||||
hHtmlHelp = LoadLibrary(_T("HHCTRL.OCX"));
|
||||
if (hHtmlHelp == NULL)
|
||||
return;
|
||||
|
||||
|
@ -894,7 +894,7 @@ static void delete_stat_item(int n)
|
||||
|
||||
static char *ReadConversion(const char *formula)
|
||||
{
|
||||
intptr_t len = strlen(formula);
|
||||
size_t len = strlen(formula);
|
||||
char *str = (char *)malloc(len+3);
|
||||
|
||||
if (str == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user