remove special implementation of stack operations and use plugin.lib instead
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5835 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7ee44a65dc
commit
41836a0f4a
7 changed files with 22 additions and 169 deletions
|
@ -1,8 +1,9 @@
|
|||
#include <windows.h>
|
||||
|
||||
#include <plugin.h> // nsis plugin.h
|
||||
|
||||
#include "input.h"
|
||||
#include "defs.h"
|
||||
#include "nsis.h"
|
||||
#include "rtl.h"
|
||||
|
||||
extern struct nsDialog g_dialog;
|
||||
|
@ -55,22 +56,22 @@ int NSDFUNC PopPlacement(int *x, int *y, int *width, int *height)
|
|||
dialogWidth = dialogRect.right;
|
||||
dialogHeight = dialogRect.bottom;
|
||||
|
||||
if (popstring(buf, 1024))
|
||||
if (popstringn(buf, 1024))
|
||||
return 1;
|
||||
|
||||
*x = ConvertPlacement(buf, dialogWidth, 0);
|
||||
|
||||
if (popstring(buf, 1024))
|
||||
if (popstringn(buf, 1024))
|
||||
return 1;
|
||||
|
||||
*y = ConvertPlacement(buf, dialogHeight, 1);
|
||||
|
||||
if (popstring(buf, 1024))
|
||||
if (popstringn(buf, 1024))
|
||||
return 1;
|
||||
|
||||
*width = ConvertPlacement(buf, dialogWidth, 0);
|
||||
|
||||
if (popstring(buf, 1024))
|
||||
if (popstringn(buf, 1024))
|
||||
return 1;
|
||||
|
||||
*height = ConvertPlacement(buf, dialogHeight, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue