Commit 410d8997 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Modification due to problems with winapi-check.

parent afe3b0cd
...@@ -320,7 +320,9 @@ callrmproc_again: ...@@ -320,7 +320,9 @@ callrmproc_again:
return 1; return 1;
} }
} }
#endif
if (!already) { if (!already) {
#ifdef MZ_SUPPORTED
if (!SS_reg(context)) { if (!SS_reg(context)) {
alloc = 1; /* allocate default stack */ alloc = 1; /* allocate default stack */
stack16 = addr = DOSMEM_GetBlock( pModule->self, 64, (UINT16 *)&(SS_reg(context)) ); stack16 = addr = DOSMEM_GetBlock( pModule->self, 64, (UINT16 *)&(SS_reg(context)) );
...@@ -335,7 +337,6 @@ callrmproc_again: ...@@ -335,7 +337,6 @@ callrmproc_again:
} }
ESP_reg(context) -= (args + (iret?1:0)) * sizeof(WORD); ESP_reg(context) -= (args + (iret?1:0)) * sizeof(WORD);
#else #else
if (!already) {
stack16 = (LPWORD) CURRENT_STACK16; stack16 = (LPWORD) CURRENT_STACK16;
#endif #endif
stack16 -= args; stack16 -= args;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment