mirror of
https://github.com/ScrelliCopter/NeHe-SDL_GPU.git
synced 2025-06-19 21:49:17 +10:00
c: Fix typo "resouce" in comment
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user