summaryrefslogtreecommitdiff
path: root/tipper/popwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tipper/popwin.cpp')
-rw-r--r--tipper/popwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tipper/popwin.cpp b/tipper/popwin.cpp
index 72d38c8..5110ae8 100644
--- a/tipper/popwin.cpp
+++ b/tipper/popwin.cpp
@@ -122,7 +122,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].line_above = false;
pwd->rows[pwd->row_count].value_newline = true;
- pwd->rows[pwd->row_count].swzLabel = _T("");
+ pwd->rows[pwd->row_count].swzLabel = _tcsdup(_T(""));
pwd->rows[pwd->row_count].swzValue = _tcsdup(buff);
pwd->row_count++;
top_message = true;