From 9000847ee37d6d89180c7c78445784d5daf07f82 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Thu, 30 Oct 2008 21:56:50 +0000 Subject: [PATCH] Editor now shows rev number too --- edit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/edit.c b/edit.c index e2eaf33..3e31d38 100644 --- a/edit.c +++ b/edit.c @@ -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);