Added version to created .cfg file (Johan Vromans)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3610 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-04-25 10:33:38 +00:00
parent 043afda8fe
commit a6b8bdfbd5

View file

@ -55,6 +55,7 @@
#include "powermgmt.h" #include "powermgmt.h"
#include "sprintf.h" #include "sprintf.h"
#include "keyboard.h" #include "keyboard.h"
#include "version.h"
struct user_settings global_settings; struct user_settings global_settings;
char rockboxdir[] = ROCKBOX_DIR; /* config/font/data file directory */ char rockboxdir[] = ROCKBOX_DIR; /* config/font/data file directory */
@ -1110,7 +1111,7 @@ bool settings_save_config(void)
return false; 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, "# >>> http://rockbox.haxx.se <<<\r\n#\r\n");
fprintf(fd, "#\r\n# wps / language / font \r\n#\r\n"); fprintf(fd, "#\r\n# wps / language / font \r\n#\r\n");