From 51d295e33e6ea9384653f52f1ffd3e99eff8df22 Mon Sep 17 00:00:00 2001 From: Fabian Giesen Date: Sun, 22 Jan 2023 16:16:02 -0800 Subject: [PATCH] stb_image: Add trailing semicolon to usage example Fixes issue #1330 reported by lunasorcery. --- stb_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_image.h b/stb_image.h index 720bffe..9a032c7 100644 --- a/stb_image.h +++ b/stb_image.h @@ -140,7 +140,7 @@ RECENT REVISION HISTORY: // // ... x = width, y = height, n = # 8-bit components per pixel ... // // ... replace '0' with '1'..'4' to force that many components per pixel // // ... but 'n' will always be the number that it would have been if you said 0 -// stbi_image_free(data) +// stbi_image_free(data); // // Standard parameters: // int *x -- outputs image width in pixels