# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1591845747 0 # Node ID a3e1764500771f4ef6bc8887f9394e48fada8fe0 # Parent 8de0a767c0e51ad6299aa87e7e1cb5a32476b67a OS/2: Fix a warning in dw_notication_new(), return 0 not NULL. Also move dw_init() above the feature tests. PMPrintf support gets loaded in dw_init() so the feature test results don't display if called before. diff -r 8de0a767c0e5 -r a3e176450077 dwtest.c --- a/dwtest.c Thu Jun 11 02:32:20 2020 +0000 +++ b/dwtest.c Thu Jun 11 03:22:27 2020 +0000 @@ -1794,6 +1794,9 @@ ULONG notebookpage9; DWFEATURE feat; + /* Initialize the Dynamic Windows engine */ + dw_init(TRUE, argc, argv); + /* Test all the features and display the results */ for(feat=0;feat