diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-09-11 21:13:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-09-11 21:13:46 +0200 |
commit | 72642d67a1f40a53a99ad7974e783a2b3d82a8ef (patch) | |
tree | bd353b50e507a25fb2476848ecee72afe71a457c /menu.c | |
parent | 380b28cec803b6ba6d4bc9e999ea83e3d18859a7 (diff) | |
download | vdr-72642d67a1f40a53a99ad7974e783a2b3d82a8ef.tar.gz vdr-72642d67a1f40a53a99ad7974e783a2b3d82a8ef.tar.bz2 |
Added missing 'const'
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.26 2000/09/10 15:06:15 kls Exp $ + * $Id: menu.c 1.27 2000/09/11 21:13:46 kls Exp $ */ #include "menu.h" @@ -1190,7 +1190,7 @@ eOSState cDirectChannelSelect::ProcessKey(eKeys Key) if (number >= 0) { number = number * 10 + Key - k0; cChannel *channel = Channels.GetByNumber(number); - char *Name = channel ? channel->name : "*** Invalid Channel ***"; + const char *Name = channel ? channel->name : "*** Invalid Channel ***"; int BufSize = MenuColumns + 1; char buffer[BufSize]; snprintf(buffer, BufSize, "%d %s", number, Name); |