# 01_spelling_mistakes.diff by Ryan Kavanagh <ryanakca@kubuntu.org>
# Description: Fix spelling mistakes in binary and documentation
Index: cmus/Doc/cmus.txt
===================================================================
--- cmus.orig/Doc/cmus.txt 2010-06-20 15:33:00.141293422 -0400
+++ cmus/Doc/cmus.txt 2010-06-20 15:34:36.349293541 -0400
@@ -454,7 +454,7 @@
player-play [filename] (*x*)
Play the given track, or, if none is specified, [re]play the current
- track from the begining.
+ track from the beginning.
player-prev (*z*)
Skip to the previous track.
Index: cmus/expr.c
===================================================================
--- cmus.orig/expr.c 2010-06-20 15:34:39.809293382 -0400
+++ cmus/expr.c 2010-06-20 15:34:47.837295079 -0400
@@ -462,14 +462,14 @@
}
if (expr->type != EXPR_BOOL) {
/* unknown key */
- set_error("unkown key %s", expr->key);
+ set_error("unknown key %s", expr->key);
return -1;
}
/* user defined filter */
filter = get_filter(expr->key);
if (filter == NULL) {
- set_error("unkown filter or boolean %s", expr->key);
+ set_error("unknown filter or boolean %s", expr->key);
return -1;
}
e = expr_parse(filter);