Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/memononen/nanosvg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-07-08 18:03:30 +0300
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-07-08 18:05:17 +0300
commitc73393fc7afe2782e89a2f4fd9a2d95e29a7bd15 (patch)
treef32ab9427470a4ef203e2b32e891a97a1a0bfaf4
parent3bcdf2f3cdc1bf9197c2dce81368bfc6f99205a7 (diff)
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.
-rw-r--r--src/nanosvg.h4
-rw-r--r--src/nanosvgrast.h4
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