mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix window name
This commit is contained in:
parent
b309f4d37f
commit
2ba834578d
@ -16,11 +16,6 @@
|
|||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
|
|
||||||
// Global definitions
|
|
||||||
|
|
||||||
#define NAME "Blupi"
|
|
||||||
#define TITLE "Blupi"
|
|
||||||
|
|
||||||
// Global variables
|
// Global variables
|
||||||
|
|
||||||
SDL_Window *g_window;
|
SDL_Window *g_window;
|
||||||
@ -397,10 +392,10 @@ static bool DoInit (Sint32 argc, char *argv[])
|
|||||||
|
|
||||||
// Create a window.
|
// Create a window.
|
||||||
if (g_bFullScreen)
|
if (g_bFullScreen)
|
||||||
g_window = SDL_CreateWindow (NAME, 0, 0, LXIMAGE, LYIMAGE,
|
g_window = SDL_CreateWindow (gettext ("Planet Blupi"), 0, 0, LXIMAGE, LYIMAGE,
|
||||||
SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS | SDL_WINDOW_INPUT_GRABBED);
|
SDL_WINDOW_FULLSCREEN | SDL_WINDOW_BORDERLESS | SDL_WINDOW_INPUT_GRABBED);
|
||||||
else
|
else
|
||||||
g_window = SDL_CreateWindow (NAME, SDL_WINDOWPOS_CENTERED,
|
g_window = SDL_CreateWindow (gettext ("Planet Blupi"), SDL_WINDOWPOS_CENTERED,
|
||||||
SDL_WINDOWPOS_CENTERED, LXIMAGE, LYIMAGE, 0);
|
SDL_WINDOWPOS_CENTERED, LXIMAGE, LYIMAGE, 0);
|
||||||
|
|
||||||
if (!g_window)
|
if (!g_window)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user