diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-04-25 10:33:38 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-04-25 10:33:38 +0000 |
commit | a6b8bdfbd5e0a3de070b28d191b88fb7663d0e1a (patch) | |
tree | b8b14162289d17e80ad6ceaaf44491f90ef37936 /apps/settings.c | |
parent | 043afda8feb18569811f0a918051315e4a99e9df (diff) |
Added version to created .cfg file (Johan Vromans)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |