c: Fix typo "resouce" in comment

This commit is contained in:
2025-06-12 14:26:35 +10:00
parent 4d6bd0e01f
commit 0dd8ed021f

View File

@@ -104,7 +104,7 @@ char* NeHe_ResourcePath(const NeHeContext* restrict ctx, const char* const restr
{ {
SDL_assert(ctx && ctx->baseDir && resourcePath); SDL_assert(ctx && ctx->baseDir && resourcePath);
// Build path to resouce: "{baseDir}/{resourcePath}" // Build path to resource: "{baseDir}/{resourcePath}"
const size_t baseLen = SDL_strlen(ctx->baseDir); const size_t baseLen = SDL_strlen(ctx->baseDir);
const size_t resourcePathLen = SDL_strlen(resourcePath); const size_t resourcePathLen = SDL_strlen(resourcePath);
char* path = SDL_malloc(baseLen + resourcePathLen + 1); char* path = SDL_malloc(baseLen + resourcePathLen + 1);