summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
diff options
context:
space:
mode:
authorPaul Louden <paulthenerd@gmail.com>2007-06-19 04:21:06 +0000
committerPaul Louden <paulthenerd@gmail.com>2007-06-19 04:21:06 +0000
commitf8b5913ae7e9020674f8260fa861fd3424eb0bff (patch)
tree57580c53a033ec3b38302908b8d9bc6770710d33 /apps/filetypes.c
parentf01b661116f7fb469197deb5de6fbdbd5d3daee2 (diff)
downloadrockbox-f8b5913ae7e9020674f8260fa861fd3424eb0bff.tar.gz
rockbox-f8b5913ae7e9020674f8260fa861fd3424eb0bff.zip
Make user-visible spelling "colours" rather than "colors".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13671 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index 75c58cc752..b9c0e69321 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -143,7 +143,7 @@ static void read_config(char* config_file);
143/* Colors file format is similar to icons: 143/* Colors file format is similar to icons:
144 * ext:hex_color 144 * ext:hex_color
145 * load a colors file from a theme with: 145 * load a colors file from a theme with:
146 * filetype colors: filename.colors */ 146 * filetype colours: filename.colours */
147void read_color_theme_file(void) { 147void read_color_theme_file(void) {
148 char buffer[MAX_PATH]; 148 char buffer[MAX_PATH];
149 int fd; 149 int fd;
@@ -152,7 +152,7 @@ void read_color_theme_file(void) {
152 for (i = 0; i < filetype_count; i++) { 152 for (i = 0; i < filetype_count; i++) {
153 custom_colors[i] = -1; 153 custom_colors[i] = -1;
154 } 154 }
155 snprintf(buffer, MAX_PATH, "%s/%s.colors", THEME_DIR, 155 snprintf(buffer, MAX_PATH, "%s/%s.colours", THEME_DIR,
156 global_settings.colors_file); 156 global_settings.colors_file);
157 fd = open(buffer, O_RDONLY); 157 fd = open(buffer, O_RDONLY);
158 if (fd < 0) 158 if (fd < 0)