From 716df5c96c794fdaa70e136dbab718f16d487b17 Mon Sep 17 00:00:00 2001 From: ghazan Date: Wed, 30 Jan 2008 14:09:41 +0000 Subject: fix for random crashes git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@389 4f64403b-2f21-0410-a795-97e2b3489a10 --- tipper/popwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tipper/popwin.cpp') diff --git a/tipper/popwin.cpp b/tipper/popwin.cpp index a2964c5..59783ba 100644 --- a/tipper/popwin.cpp +++ b/tipper/popwin.cpp @@ -228,7 +228,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa pwd->rows = (RowData *)malloc(sizeof(RowData)); pwd->rows[0].line_above = pwd->rows[0].value_newline = false; pwd->rows[0].swzLabel = 0; - pwd->rows[0].swzValue = swzText; + pwd->rows[0].swzValue = _tcsdup(swzText); } free(pwd->clcit.text); -- cgit v1.2.3