Consistent window captioning, to use patch version.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1794 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2005-05-17 01:58:06 +00:00
parent 840606d86c
commit 6ab73f5673
@@ -140,8 +140,9 @@ TFB_InitGraphics (int driver, int flags, int width, int height, int bpp)
result = TFB_Pure_InitGraphics (driver, flags, width, height, bpp); result = TFB_Pure_InitGraphics (driver, flags, width, height, bpp);
} }
sprintf (caption, "The Ur-Quan Masters v%d.%d%s", sprintf (caption, "The Ur-Quan Masters v%d.%d.%d%s",
UQM_MAJOR_VERSION, UQM_MINOR_VERSION, UQM_EXTRA_VERSION); UQM_MAJOR_VERSION, UQM_MINOR_VERSION,
UQM_PATCH_VERSION, UQM_EXTRA_VERSION);
SDL_WM_SetCaption (caption, NULL); SDL_WM_SetCaption (caption, NULL);
if (flags & TFB_GFXFLAGS_FULLSCREEN) if (flags & TFB_GFXFLAGS_FULLSCREEN)