diff options
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 1aac665..109c6f1 100644 --- a/tipper/popwin.cpp +++ b/tipper/popwin.cpp @@ -90,7 +90,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa pwd->rows = (RowData *) realloc(pwd->rows, sizeof(RowData) * (pwd->row_count + 1));
pwd->rows[pwd->row_count].swzLabel = _tcsdup(TranslateT("Status:"));
- pwd->rows[pwd->row_count].swzValue = strptr;
+ pwd->rows[pwd->row_count].swzValue = _tcsdup(strptr);
pwd->rows[pwd->row_count].value_newline = false;
pwd->rows[pwd->row_count].line_above = false;
pwd->row_count++;
|