Behaviour/Compatibility correction. Copy the parent pr_WindowPtr only if it is se...
commit0f16daf8d9bbea485bb616d2bd8eade8015b5d3e
authorNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 10 Jan 2017 22:50:15 +0000 (10 22:50 +0000)
committerNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 10 Jan 2017 22:50:15 +0000 (10 22:50 +0000)
tree5d14232d8ccd515b80289befec95d98f734b4c12
parent79e790806a2779247714038e20b38f0b62f6ff1e
Behaviour/Compatibility correction.  Copy the parent pr_WindowPtr only if it is se to default (public screen) or none (-1) - verified against AmigaOS.
Perform the copy in CreateNewProc not CreateProc, otherwise direct calls to CreateNewProc to not observe the correct behaviour.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53190 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/dos/createnewproc.c
rom/dos/createproc.c