From a6b8bdfbd5e0a3de070b28d191b88fb7663d0e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Fri, 25 Apr 2003 10:33:38 +0000 Subject: [PATCH] Added version to created .cfg file (Johan Vromans) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3610 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/settings.c b/apps/settings.c index fe7a83f034..498d18de3c 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -55,6 +55,7 @@ #include "powermgmt.h" #include "sprintf.h" #include "keyboard.h" +#include "version.h" struct user_settings global_settings; char rockboxdir[] = ROCKBOX_DIR; /* config/font/data file directory */ @@ -1110,7 +1111,7 @@ bool settings_save_config(void) return false; } - fprintf(fd, "# >>> .cfg file created by rockbox <<<\r\n"); + fprintf(fd, "# >>> .cfg file created by rockbox %s <<<\r\n", appsversion); fprintf(fd, "# >>> http://rockbox.haxx.se <<<\r\n#\r\n"); fprintf(fd, "#\r\n# wps / language / font \r\n#\r\n");