cleanup in HTEventTerminate

In Windows, HTEventTerminate should destroy the window and unregister
the class (in order to be able to correctly re-initialize the library
with a new HTEventInit).


Index: HTEvtLst.c
===================================================================
RCS file: /sources/public/libwww/Library/src/HTEvtLst.c,v
retrieving revision 2.30
diff -b -r2.30 HTEvtLst.c
47a48,49
> PRIVATE ATOM HTclass;
> PRIVATE HINSTANCE HTinstance;
637c639,641
<     if (!RegisterClass(&wc)) {
---
>     HTinstance = wc.hInstance;
>     HTclass = RegisterClass(&wc);
>     if (!HTclass) {
692a697,702
> 
> #ifdef WWW_WIN_ASYNC
>     DestroyWindow(HTSocketWin);
>     UnregisterClass((LPCTSTR)HTclass, HTinstance);
> #endif /* WWW_WIN_ASYNC */
> 

---------------------------------------------
Raffaele Sena
Senior Software Engineer ( "THE" Linux Guy :)
NuvoMedia, Inc.
310 Villa Street
Mt. View, CA 94041
Main:   +1.650.314.1200
Direct: +1.650.314.1255
Fax:    +1.650.314.1201

mailto:raff@nuvomedia.com
http://www.rocket-ebook.com

Received on Friday, 5 February 1999 16:17:32 UTC