simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Apr 11 09:59:56 BST 2021


TL;DR:
  7153218b Fix a mismatch of GetWindowLong with GWLP_*.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2021-04-11 09:59:56

commit 7153218b086fa670e5a1729583f386a5a64f7617
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=7153218b086fa670e5a1729583f386a5a64f7617;hp=fd41f5dac045f0c9e1d4d6f34542cbedadf9a1fa
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Apr 11 09:55:21 2021 +0100

    Fix a mismatch of GetWindowLong with GWLP_*.
    
    In commit bb59f27386dae8f I changed a use of the constant GWL_ID to
    GWLP_ID, on the grounds that the former caused a build failure under
    winelib. But the GWLP constants are supposed to be used with
    GetWindowLongPtr, and I was still calling GetWindowLong.
    
    (Benign, since the two sets of constants are the same. But that is the
    only case in the whole code base where I'd made that error, and since
    it was only introduced a couple of days ago, there's no possibility of
    a longstanding historical reason for carefully not touching it!)

 windows/windlg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list