From c73393fc7afe2782e89a2f4fd9a2d95e29a7bd15 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 8 Jul 2022 17:03:30 +0200 Subject: [PATCH] Fix newline at end of file, add comments Fix "No newline at end of file" warning. The newline was removed by commit 47f28a2a78de610, probably unintentionally. Add missing comments to #endif statements for clarity and consistency. --- src/nanosvg.h | 4 ++-- src/nanosvgrast.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nanosvg.h b/src/nanosvg.h index aaf0428..e9447da 100644 --- a/src/nanosvg.h +++ b/src/nanosvg.h @@ -3005,6 +3005,6 @@ void nsvgDelete(NSVGimage* image) free(image); } -#endif +#endif // NANOSVG_IMPLEMENTATION -#endif // NANOSVG_H \ No newline at end of file +#endif // NANOSVG_H diff --git a/src/nanosvgrast.h b/src/nanosvgrast.h index fa3427b..ffa913a 100644 --- a/src/nanosvgrast.h +++ b/src/nanosvgrast.h @@ -1453,6 +1453,6 @@ void nsvgRasterize(NSVGrasterizer* r, r->stride = 0; } -#endif +#endif // NANOSVGRAST_IMPLEMENTATION -#endif // NANOSVGRAST_H \ No newline at end of file +#endif // NANOSVGRAST_H