summaryrefslogtreecommitdiff
path: root/plugins/Variables/tokenregister.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-30 19:34:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-30 19:34:50 +0000
commit190b98cf90600fc0e98543ee87d772560547acca (patch)
tree8b32108b311515eb63f5292c2ec9efe50ffcfd9f /plugins/Variables/tokenregister.cpp
parentca7197e8812b188a99fc72b524f936e06e08327a (diff)
"Variables are inexhaustible like an atom" (c) V.Lenin
git-svn-id: http://svn.miranda-ng.org/main/trunk@704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/tokenregister.cpp')
-rw-r--r--plugins/Variables/tokenregister.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Variables/tokenregister.cpp b/plugins/Variables/tokenregister.cpp
index 20f8f7c280..0418c3024f 100644
--- a/plugins/Variables/tokenregister.cpp
+++ b/plugins/Variables/tokenregister.cpp
@@ -225,15 +225,15 @@ TCHAR *parseFromRegister(ARGUMENTSINFO *ai)
else if (thisVr->szService != NULL)
callRes = CallService( thisVr->szService, (WPARAM)0, (LPARAM)ai );
- if (( TCHAR* )callRes != NULL)
- res = mir_tstrdup(( TCHAR* )callRes );
+ if ((TCHAR*)callRes != NULL)
+ res = mir_tstrdup((TCHAR*)callRes );
}
if (( void* )callRes != NULL) {
if (trCopy.flags & TRF_CLEANUP ) {
if (trCopy.flags & TRF_CLEANUPFUNC )
- trCopy.cleanupFunctionT(( TCHAR* )callRes );
+ trCopy.cleanupFunctionT((TCHAR*)callRes );
else if (trCopy.szCleanupService != NULL)
CallService( trCopy.szCleanupService, 0, (LPARAM)callRes );
}