diff options
-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); |