From e50dc7265b579fb8db7cbf2b9176811f368f824c Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 5 Dec 2024 23:53:27 -0500 Subject: [PATCH] examples: Fix some window titles in the demos. --- examples/demo/01-snake/snake.c | 2 +- examples/demo/02-woodeneye-008/woodeneye-008.c | 2 +- examples/demo/03-infinite-monkeys/infinite-monkeys.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/demo/01-snake/snake.c b/examples/demo/01-snake/snake.c index 8642c7f5b5443..08e62c03d81d9 100644 --- a/examples/demo/01-snake/snake.c +++ b/examples/demo/01-snake/snake.c @@ -316,7 +316,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) *appstate = as; - if (!SDL_CreateWindowAndRenderer("examples/game/snake", SDL_WINDOW_WIDTH, SDL_WINDOW_HEIGHT, 0, &as->window, &as->renderer)) { + if (!SDL_CreateWindowAndRenderer("examples/demo/snake", SDL_WINDOW_WIDTH, SDL_WINDOW_HEIGHT, 0, &as->window, &as->renderer)) { return SDL_APP_FAILURE; } diff --git a/examples/demo/02-woodeneye-008/woodeneye-008.c b/examples/demo/02-woodeneye-008/woodeneye-008.c index bb3c4d88cfdfd..3ad0b45b866df 100644 --- a/examples/demo/02-woodeneye-008/woodeneye-008.c +++ b/examples/demo/02-woodeneye-008/woodeneye-008.c @@ -347,7 +347,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) if (!SDL_Init(SDL_INIT_VIDEO)) { return SDL_APP_FAILURE; } - if (!SDL_CreateWindowAndRenderer("examples/game/woodeneye-008", 640, 480, 0, &as->window, &as->renderer)) { + if (!SDL_CreateWindowAndRenderer("examples/demo/woodeneye-008", 640, 480, 0, &as->window, &as->renderer)) { return SDL_APP_FAILURE; } diff --git a/examples/demo/03-infinite-monkeys/infinite-monkeys.c b/examples/demo/03-infinite-monkeys/infinite-monkeys.c index 99baf27145767..a8bfad1bcd714 100644 --- a/examples/demo/03-infinite-monkeys/infinite-monkeys.c +++ b/examples/demo/03-infinite-monkeys/infinite-monkeys.c @@ -139,7 +139,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) return SDL_APP_FAILURE; } - if (!SDL_CreateWindowAndRenderer("examples/game/03-infinite-monkeys", 640, 480, 0, &window, &renderer)) { + if (!SDL_CreateWindowAndRenderer("examples/demo/infinite-monkeys", 640, 480, 0, &window, &renderer)) { SDL_Log("Couldn't create window/renderer: %s", SDL_GetError()); return SDL_APP_FAILURE; }