summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuoteChart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/QuoteChart.cpp')
-rw-r--r--plugins/Quotes/src/QuoteChart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Quotes/src/QuoteChart.cpp b/plugins/Quotes/src/QuoteChart.cpp
index 17e304f4dc..a60d5d0a7e 100644
--- a/plugins/Quotes/src/QuoteChart.cpp
+++ b/plugins/Quotes/src/QuoteChart.cpp
@@ -129,7 +129,7 @@ namespace
case WM_DESTROY:
{
TChart* pChart = get_chart_ptr(hWnd);
- ::SetWindowLongPtr(hWnd,GWLP_USERDATA,NULL);
+ ::SetWindowLongPtr(hWnd,GWLP_USERDATA,0);
delete pChart;
}
break;