From 9c385f9a366da308d2a37ad5deda5d40f9285abb Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 3 Jan 2019 23:57:56 +0100 Subject: extend compatibility to Win95 RTM, NT3.1 and Win32s Only NT3.51 actually works mostly right, all others suffer from various kinds of breakage. Running a 3.1-compatible binary on newer windows enables some kind of compatibility mode with bizarro background brushes and weirdly sized combo boxes. Going forward, I'm committed to keep NT3.51 running as long as Win95RTM is supported. The future of NT3.1 and Win32s support is uncertain. --- alf/alflist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alflist.h') diff --git a/alf/alflist.h b/alf/alflist.h index e0de033..6f63626 100644 --- a/alf/alflist.h +++ b/alf/alflist.h @@ -12,7 +12,7 @@ typedef struct ALFListHeader { *alf_list_##iteratorvar##_next = alf_list_##iteratorvar##_curr->next; \ alf_list_##iteratorvar##_curr != (listp); \ alf_list_##iteratorvar##_curr = alf_list_##iteratorvar##_next, \ - alf_list_##iteratorvar##_next = alf_list_##iteratorvar##_next->next) \ + alf_list_##iteratorvar##_next = alf_list_##iteratorvar##_curr->next) \ for (ContainerType *iteratorvar = (ContainerType *)((char *)alf_list_##iteratorvar##_curr - offsetof(ContainerType, containermember)); \ iteratorvar; iteratorvar = NULL) \ -- cgit v1.2.3