summaryrefslogtreecommitdiff
path: root/menuitems.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-11-03 14:48:21 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-11-03 14:48:21 +0100
commita48a0543c8260df206a95b6569b772b0c2e18300 (patch)
tree6a0d7d667581b7ec80fd03f59ff055babff7e99b /menuitems.c
parentff4aed2227476d53f90df7e7b61aa63f6de11f5d (diff)
downloadvdr-a48a0543c8260df206a95b6569b772b0c2e18300.tar.gz
vdr-a48a0543c8260df206a95b6569b772b0c2e18300.tar.bz2
Fixed some typos
Diffstat (limited to 'menuitems.c')
-rw-r--r--menuitems.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menuitems.c b/menuitems.c
index 4eea6bab..a7f82833 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 3.1 2013/05/24 10:26:01 kls Exp $
+ * $Id: menuitems.c 3.2 2013/11/03 14:48:21 kls Exp $
*/
#include "menuitems.h"
@@ -487,12 +487,12 @@ void cMenuEditStrItem::Set(void)
if (InEditMode()) {
// This is an ugly hack to make editing strings work with the 'skincurses' plugin.
const cFont *font = dynamic_cast<cSkinDisplayMenu *>(cSkinDisplay::Current())->GetTextAreaFont(false);
- if (!font || font->Width("W") != 1) // all characters have with == 1 in the font used by 'skincurses'
+ if (!font || font->Width("W") != 1) // all characters have width == 1 in the font used by 'skincurses'
font = cFont::GetFont(fontOsd);
int width = cSkinDisplay::Current()->EditableWidth();
width -= font->Width("[]");
- width -= font->Width("<>"); // reserving this anyway make the whole thing simpler
+ width -= font->Width("<>"); // reserving this anyway makes the whole thing simpler
if (pos < offset)
offset = pos;