mirror of https://github.com/mpv-player/mpv
cfgparser fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@153 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ce3e8346b6
commit
48edc5f4bd
|
@ -160,6 +160,9 @@ static int read_option(char *opt, char *param)
|
|||
return ERR_FUNC_ERR;
|
||||
need_param = 0;
|
||||
break;
|
||||
case CONF_TYPE_PRINT:
|
||||
printf("%s", (char *) config[i].p);
|
||||
exit(1);
|
||||
default:
|
||||
printf("picsaba\n");
|
||||
break;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#define CONF_TYPE_STRING 3
|
||||
#define CONF_TYPE_FUNC 4
|
||||
#define CONF_TYPE_FUNC_PARAM 5
|
||||
#define CONF_TYPE_PRINT 6
|
||||
|
||||
#define CONF_CHK_MIN (1<<0)
|
||||
#define CONF_CHK_MAX (1<<1)
|
||||
|
|
Loading…
Reference in New Issue