summaryrefslogtreecommitdiff
path: root/plugins/Variables
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables')
-rw-r--r--plugins/Variables/src/variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/variables.cpp b/plugins/Variables/src/variables.cpp
index 4758f9f167..d42d8f55db 100644
--- a/plugins/Variables/src/variables.cpp
+++ b/plugins/Variables/src/variables.cpp
@@ -502,7 +502,7 @@ TCHAR *formatString(FORMATINFO *fi)
if ((fi == NULL) || (fi->tszFormat == NULL))
return NULL;
- mir_ptr<TCHAR> string( mir_tstrdup(fi->tszFormat));
+ MTBuf string( mir_tstrdup(fi->tszFormat));
if (string == NULL)
return NULL;