From 76094ad9efb6000e0affcc892e894eb10590e816 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 27 Oct 2007 09:57:21 +0000 Subject: [PATCH] use NSD_GetText git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5347 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsDialogs/nsDialogs.nsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Contrib/nsDialogs/nsDialogs.nsh b/Contrib/nsDialogs/nsDialogs.nsh index c1238935..750feba6 100644 --- a/Contrib/nsDialogs/nsDialogs.nsh +++ b/Contrib/nsDialogs/nsDialogs.nsh @@ -398,7 +398,7 @@ Header file for creating custom installer pages with nsDialogs ${For} $R1 1 $R0 ReadINIStr $R2 $0 "Field $R1" HWND ${DEBUG} " HWND = $R2" - System::Call user32::GetWindowText(iR2,t.R2,i${NSIS_MAX_STRLEN}) + ${NSD_GetText} $R2 $R2 ${DEBUG} " Window text = $R2" WriteINIStr $0 "Field $R1" STATE $R2 ${Next} @@ -457,7 +457,7 @@ Header file for creating custom installer pages with nsDialogs ReadINIStr $R2 $0 "Field $R1" HWND ReadINIStr $R4 $0 "Field $R1" Filter - System::Call user32::GetWindowText(iR2,t.R3,i${NSIS_MAX_STRLEN}) + ${NSD_GetText} $R2 $R3 nsDialogs::SelectFileDialog /NOUNLOAD save $R3 $R4 Pop $R3 @@ -478,7 +478,7 @@ Header file for creating custom installer pages with nsDialogs ReadINIStr $R2 $0 "Field $R1" HWND ReadINIStr $R3 $0 "Field $R1" Text - System::Call user32::GetWindowText(iR2,t.R4,i${NSIS_MAX_STRLEN}) + ${NSD_GetText} $R2 $R4 nsDialogs::SelectFolderDialog /NOUNLOAD $R3 $R4 Pop $R3