Re: [PATCH] winedump: Improve typelib header dumping
14 Mar
2014
14 Mar
'14
2:04 p.m.
Hi Nikolay, On 03/14/14 14:48, Nikolay Sivov wrote:
+ if (flags & 1) + printf("%s%c", libflags[i++], flags & ~1 ? '|' : 0); + flags >>= 1;
i should be increased on each iteration, not only when the flag is found. Cheers, Jacek
14 Mar
14 Mar
2:11 p.m.
New subject: [PATCH] winedump: Improve typelib header dumping
On 03/14/14 15:04, Jacek Caban wrote:
Hi Nikolay,
On 03/14/14 14:48, Nikolay Sivov wrote:
+ if (flags & 1) + printf("%s%c", libflags[i++], flags & ~1 ? '|' : 0); + flags >>= 1; i should be increased on each iteration, not only when the flag is found.
Also you should print '\n' instead of nullbyte if no more flags are found. Cheers, Jacek
4292
Age (days ago)
4292
Last active (days ago)
1 comments
1 participants
participants (1)
-
Jacek Caban