Editor now shows rev number too

This commit is contained in:
Rob Pearce 2008-10-30 21:56:50 +00:00
parent 9d89611be0
commit 9000847ee3
1 changed files with 4 additions and 0 deletions

4
edit.c
View File

@ -144,6 +144,10 @@ int main (int argc, char **argv) {
screen = SDL_SetVideoMode(EDITORW,EDITORH,16,SDL_SWSURFACE|SDL_DOUBLEBUF|vidargs);
#endif
// set title bar
sprintf(progname, "Rat Catcher Level Editor v0.%d", REV);
SDL_WM_SetCaption(progname, progname);
/* load fonts */
TTF_Init();
sprintf(filename, "%s/editfont.ttf",datadir);