From f18b0c5d9245560d529af9ba6fc9691ec7cad34e Mon Sep 17 00:00:00 2001 From: David Reid Date: Mon, 7 May 2018 10:21:16 +1000 Subject: [PATCH] Fix an error when compiling as C++. --- source/dred/dtk/dtk_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dred/dtk/dtk_window.c b/source/dred/dtk/dtk_window.c index 849d1cc..0342b86 100644 --- a/source/dred/dtk/dtk_window.c +++ b/source/dred/dtk/dtk_window.c @@ -822,7 +822,7 @@ dtk_result dtk_window_init__win32(dtk_context* pTK, dtk_control* pParent, dtk_wi ti.hwnd = hWnd; ti.uId = (UINT_PTR)hWnd; ti.hinst = NULL; - ti.lpszText = ""; + ti.lpszText = NULL; ti.lParam = 0; GetClientRect((HWND)hWnd, &ti.rect); SendMessageA((HWND)pTK->win32.hTooltipWindow, TTM_ADDTOOLA, 0, (LPARAM)&ti);