AfterStep-1.7.142 bug fixes

Marc Boucher marc+afterstep@mbsi.ca
Wed, 01 Sep 1999 16:12:20 -0400


This is a multipart MIME message.

--==_Exmh_13792499040
Content-Type: text/plain; charset=us-ascii

Hi,

The enclosed patch fixes a few bugs in AfterStep-1.7.142, namely:

- Gradients not working properly under Solaris 2.x with 24 bit truecolor
display, due to incorrect ASCOLOR2PIXEL24BGR() macro in stepgfx.h

- StartsOnDesk window style has no effect when specified in
~/GNUstep/Library/AfterStep/database.

- coredump when trying to reference an invalid menu id, specified via 
PopUp command.

Enjoy,
Marc


--==_Exmh_13792499040
Content-Type: application/x-patch ; name="AfterStep-1.7.142-mb1.patch"
Content-Description: AfterStep-1.7.142-mb1.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="AfterStep-1.7.142-mb1.patch"

LS0tIGluY2x1ZGUvc3RlcGdmeC5oCTE5OTkvMDkvMDEgMTc6MzQ6NTMJMS4xCisrKyBpbmNs
dWRlL3N0ZXBnZnguaAkxOTk5LzA5LzAxIDE3OjU1OjEzCkBAIC0xNTQsOSArMTU0LDkgQEAK
IAkJCQkJICgoKGMpPj4xKSYweDAwMDBmZjAwKXwJICBcCiAJCQkJCSAoIChjKSAgICAmMHgw
MDAwMDBmZikpCiAKLSNkZWZpbmUgQVNDT0xPUjJQSVhFTDI0QkdSKGMpCQkoKCgoYyk+PjIp
JjB4MDAwMDAwZmYpfCAgIFwKKyNkZWZpbmUgQVNDT0xPUjJQSVhFTDI0QkdSKGMpCQkoKCgo
Yyk+PjE4KSYweDAwMDAwMGZmKXwgICBcCiAJCQkJCSAoKChjKT4+MSkmMHgwMDAwZmYwMCl8
CSAgXAotCQkJCQkgKCAoYykgICAgJjB4MDBmZjAwMDApKQorCQkJCQkgKCgoYyk8PDE2KSYw
eDAwZmYwMDAwKSkKIAogZXh0ZXJuIHVuc2lnbmVkIGxvbmcgKCphc2NvbG9yX3RvX3BpeGVs
X2Z1bmMpKCBBU0NPTE9SICk7CiAKLS0tIHNy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wcGVkID09IEZhbHNlKSB8fCAobmV3X2l0ZW0tPm1lbnUtPmlzX3Bp
bm5lZCA9PSBUcnVlKSkpCiAJewogCSAgY29uZmlndXJlX21lbnUgKG5ld19pdGVtLT5tZW51
LCBtZW51KTsKIAkgIGlmIChuZXdfaXRlbS0+bWVudS0+aXNfbWFwcGVkID09IEZhbHNlKQo=

--==_Exmh_13792499040--



--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.calderasystems.com/linuxcenter/forums/afterstep.html