Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using an ini file all differences are displayed as black sections #1799

Closed
warbe-maker opened this issue Apr 10, 2023 · 2 comments
Closed
Labels
Milestone

Comments

@warbe-maker
Copy link

I am using WinMerge in an application calling it via ShellRun with a specific ini file. When I use WinMerge the 'normal way' and compare an ini file with the default settings exported with the ini file I use the two below differences are displayed fine.

Settings/IgnoreBlankLines=1
Settings/IgnoreCase=1

However, when I use 'my' ini file with the above two settings (via ShellRun) all differences are displayed as black sections.

sdottaka added a commit that referenced this issue Apr 11, 2023
@sdottaka
Copy link
Member

The issue has been fixed in commit 1f36abe.
Thank you for the report.
The latest binary can be downloaded from the following URL: https://ci.appveyor.com/project/sdottaka/winmerge/build/artifacts

This problem occurred because there was a discrepancy between the format in which WinMerge saved option values in the INI file and the format used when exporting.
Normally, color values in the INI file are saved in decimal format, but in the exported INI file, they were saved in hexadecimal format. Prior to this commit, WinMerge was unable to read hexadecimal values and treated them as 0, resulting in black color.

@sdottaka sdottaka added this to the v2.16.30 milestone Apr 11, 2023
@warbe-maker
Copy link
Author

warbe-maker commented Apr 11, 2023

Unfortunately I am not familiar with how to deal with the above link. I've never used software other than by downloading it from a webpage. I think I will have to wait until I can download it from https://winmerge.org/downloads/?lang=de. In case there is another way to get the .exe I'd love to go it.
I have to add that I managed to get the ...exe.zip downloaded, but now I am not sure which of the many files I have to copy into my 'installed' folder. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants