[Bug] 0 equals 1???
Dinesh J Prakash last edited by
Please paste these into 2 different files and compare them :
They both match
Claudia Frank last edited by Claudia Frank
are you using the latest compare plugin version?
Which npp and os version?
And it is probably better to report it at https://github.com/pnedev/compare-plugin/issues
Although @pnedev, from time to time visits this community.
guy038 last edited by guy038
Hello, @dinesh-j-prakash, @claudia-frank and All,
You’re quite right. I’ve just tried with the last Compare
v2.0.0plugin, and N++
v7.5.1, on my Win XP SP3 laptop. Indeed, there a (small) bug !
I noticed that
3conditions are mandatory to reproduce this bug :
Each line must have a same amount of characters, whatever they are
The length, of each line, must be a multiple of
32( so length must be
96,… ) !! ??
All characters, of each line, must be identical
I do hope, @pnedev that you’ll be able to sort it out, easily ;-))
pnedev last edited by pnedev
@Dinesh-J-Prakash , thank you for reporting this.
@Claudia-Frank , thank you for commenting.
@guy038 , thank you for the detailed investigation.
This problem has already been reported in the GitHub project page (https://github.com/pnedev/compare-plugin/issues/128)
and I have already fixed it in the development branch. I’m preparing a new release but since it is a major plugin rework and I’m quite busy these days it is taking longer than I thought. I hope I’ll be able to release the new version in month or two.
Just FYI the problem was with the hashing function used in the compare process.