From c8453b189d7c64d2c80bca42420be8b5de39e13b Mon Sep 17 00:00:00 2001 From: Christian Schulz Date: Sun, 3 Aug 2025 16:17:41 +0200 Subject: [PATCH] Fix typo --- src/Greenshot.Editor/FileFormat/Dto/DtoHelper.cs | 4 ++-- src/Greenshot.Editor/FileFormat/readme.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Greenshot.Editor/FileFormat/Dto/DtoHelper.cs b/src/Greenshot.Editor/FileFormat/Dto/DtoHelper.cs index c83e716f1..c6d30db28 100644 --- a/src/Greenshot.Editor/FileFormat/Dto/DtoHelper.cs +++ b/src/Greenshot.Editor/FileFormat/Dto/DtoHelper.cs @@ -30,7 +30,7 @@ namespace Greenshot.Editor.FileFormat.Dto; /// /// All DTO classes should not contain any business logic. This applies to helper methods as well -/// So this is the placae for them. +/// So this is the place for them. /// public static class DtoHelper { @@ -48,7 +48,7 @@ public static class DtoHelper } /// - /// We store Color as an ARGB integer, so we have to compare two colors in by their ARGB values + /// We store Color as an ARGB integer, so we have to compare two colors by their ARGB values /// /// /// diff --git a/src/Greenshot.Editor/FileFormat/readme.md b/src/Greenshot.Editor/FileFormat/readme.md index 90a5e9005..226f3e769 100644 --- a/src/Greenshot.Editor/FileFormat/readme.md +++ b/src/Greenshot.Editor/FileFormat/readme.md @@ -115,8 +115,8 @@ The version is composed of two parts: The version is represented as `{format version}.{schema version}` (i.e. as string, `02.01`, this pattern still matches markers in V1 and V2). -- **Format Version:** See `VersionHandler.GreenshotFileFormatVersion`. -- **Schema Version:** See `VersionHandler.SchemaVersion`. +- **Format Version:** See `GreenshotFileVersionHandler.GreenshotFileFormatVersion`. +- **Schema Version:** See `GreenshotFileVersionHandler.CurrentSchemaVersion`. --- @@ -185,7 +185,7 @@ It provides methods to save and load files. There is a `GreenshotFileFormatHandl Every `FileFormatHandler` calls the associated `VersionHandler` wich determines the file format version and calls the appropriate class that implements the serialization/deserialization logic. -From `FileFormatHandler` to the implementation, only first-class domain objects (`GreenshotFile`, `GreenshotTemplate`) or file streams are passed as parameters. +From `FileFormatHandler` to the implementation, only first-class domain objects (`GreenshotFile`, `GreenshotTemplate`) or file streams are passed as parameters. _(In particular, no `Surface` or `DrawableContainer`.)_ ---