Permalink
Browse files

Standardised colour as colour, not color

  • Loading branch information...
1 parent 3089865 commit 40b47f19b0ecf05fbda39dc32269561fb5b942d4 @lmartinking committed Mar 24, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 tmux-cpu-freq.c
View
@@ -18,8 +18,8 @@
#define MAX_CPU_LEVELS 6
/* And you can add colours to this, if needed */
-#define MAX_LEVEL_COLORS 6
-static const char *level_colors[MAX_LEVEL_COLORS] = {
+#define MAX_LEVEL_COLOURS 6
+static const char *level_colours[MAX_LEVEL_COLOURS] = {
"red",
"yellow",
"green",
@@ -116,8 +116,8 @@ int main(int argc, char **argv)
}
}
- if (level < MAX_LEVEL_COLORS) {
- colour = level_colors[level];
+ if (level < MAX_LEVEL_COLOURS) {
+ colour = level_colours[level];
}
printf("#[bg=%s] ", colour);

0 comments on commit 40b47f1

Please sign in to comment.