From c69e0d5784c8dfe4cb40a861556c80dbbf11e63e Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 15 Aug 2008 18:13:21 +0000 Subject: [PATCH] applied patch #2025721 - Patch for Feature Request 1961307 also closes RFE #1961307 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5701 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/Source/System.c | 2 ++ Contrib/System/System.html | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Contrib/System/Source/System.c b/Contrib/System/Source/System.c index e983c379..53a3f76a 100644 --- a/Contrib/System/Source/System.c +++ b/Contrib/System/Source/System.c @@ -520,6 +520,8 @@ SystemProc *PrepareProc(BOOL NeedForCall) case 'I': temp2 = PAT_INT; break; case 'l': case 'L': temp2 = PAT_LONG; break; + case 'm': + case 'M': case 't': case 'T': temp2 = PAT_STRING; break; case 'g': diff --git a/Contrib/System/System.html b/Contrib/System/System.html index 966c1d0f..990cf818 100644 --- a/Contrib/System/System.html +++ b/Contrib/System/System.html @@ -247,8 +247,12 @@ DetailPrint $4 large integer, int64 +m +ANSI text, string. (FYI: 'm' for multibyte string or 'w' flipped over.) + + t -text, string (pointer to first character) +text, string (pointer to first character). Like TCHAR*, it is a Unicode string in Unicode NSIS. w @@ -785,4 +789,4 @@ DetailPrint "Free virtual: $9 bytes" - \ No newline at end of file +