Skip to content

Conversation

aleksvujic
Copy link
Contributor

Description

Example for lossless image compression contains a single \ character as path separator which is an escape character in C#. Double backslash \\ should be used instead.

Before:

var snakewareLogo = new FileInfo("c:\path\to\Snakeware.jpg");

After:

var snakewareLogo = new FileInfo("c:\\path\\to\\Snakeware.jpg");

@CLAassistant
Copy link

CLAassistant commented Sep 4, 2024

CLA assistant check
All committers have signed the CLA.

@dlemstra
Copy link
Owner

dlemstra commented Sep 5, 2024

Thanks for pointing this out. I think I would rather use @ instead of a double \. Would you mind updating the PR?

@aleksvujic
Copy link
Contributor Author

Sure, I modified the pull request.

@dlemstra dlemstra merged commit 30b3d2f into dlemstra:main Sep 6, 2024
26 checks passed
@dlemstra
Copy link
Owner

dlemstra commented Sep 6, 2024

Thanks for the quick fix. Your PR has been merged.

This was referenced Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants