Pelles C forum

Pelles C => Bug reports => Topic started by: severach on March 01, 2009, 10:50:11 PM

Title: Resource accelerators change from named contstants to negative numbers on save
Post by: severach on March 01, 2009, 10:50:11 PM

#define IDC_TEST 40000
100 ACCELERATORS DISCARDABLE
    VK_F1,          IDC_TEST ,        VIRTKEY, NOINVERT

The IDE interprets this fine but when it saves a negative number shows up in place of IDC_TEST.

    VK_F1,          -25536 ,        VIRTKEY, NOINVERT

It still works everywhere but losing the named constant makes code changes unsafe.