diff options
author | ghazan <ghazan@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-01-30 14:09:41 +0000 |
---|---|---|
committer | ghazan <ghazan@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-01-30 14:09:41 +0000 |
commit | 716df5c96c794fdaa70e136dbab718f16d487b17 (patch) | |
tree | 134eed9d40bc575b9b0d583e54b57922979c55d2 /tipper/popwin.cpp | |
parent | ace0408730c16349d7b96594fcf5488c9be2ec46 (diff) |
fix for random crashes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@389 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'tipper/popwin.cpp')
-rw-r--r-- | tipper/popwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |