Commit 7e421dca authored by Thomas Guillem's avatar Thomas Guillem

dialog: fix dialog_Login macro (see #16404)

It was not well updated when new arguments were added.
parent 3dae2c79
......@@ -80,8 +80,8 @@ typedef struct dialog_login_t
} dialog_login_t;
VLC_API void dialog_Login(vlc_object_t *, const char *, char **, char **, bool *, const char *, const char *, ...) VLC_FORMAT (7, 8);
#define dialog_Login(o, u, p, s, t, v, ...) \
dialog_Login(VLC_OBJECT(o), u, p, s, t, v, __VA_ARGS__)
#define dialog_Login(o, u, p, s, t, v, w, ...) \
dialog_Login(VLC_OBJECT(o), u, p, s, t, v, w, __VA_ARGS__)
/**
* A question dialog.
......
......@@ -403,7 +403,7 @@ vlc_credential_get(vlc_credential *p_credential, vlc_object_t *p_parent,
&p_credential->psz_dialog_username,
&p_credential->psz_dialog_password,
p_credential->p_keystore ? &p_credential->b_store : NULL,
psz_dialog_title, psz_dialog_text);
psz_dialog_title, psz_dialog_text, NULL);
free(psz_dialog_text);
if (p_credential->psz_dialog_username
&& p_credential->psz_dialog_password)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment