[vlc-devel] commit: Fix infinite loop introduced in [9142f0c6] ( Rafaël Carré )
git version control
git at videolan.org
Fri Oct 9 01:59:53 CEST 2009
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Fri Oct 9 01:59:02 2009 +0200| [e1b52e49ccd3b3e429b382551d0d2d0657758fd2] | committer: Rafaël Carré
Fix infinite loop introduced in [9142f0c6]
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1b52e49ccd3b3e429b382551d0d2d0657758fd2
---
src/config/keys.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/config/keys.c b/src/config/keys.c
index d7687c4..6bb321d 100644
--- a/src/config/keys.c
+++ b/src/config/keys.c
@@ -201,10 +201,9 @@ uint_fast32_t ConfigStringToKey (const char *name)
{
uint_fast32_t mods = 0;
- const char *psz_parser = name;
for (;;)
{
- psz_parser = strchr (psz_parser, '-');
+ const char *psz_parser = strchr (name, '-');
if (psz_parser == NULL || psz_parser == name)
break;
More information about the vlc-devel
mailing list