diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2013-01-11 17:07:45 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2013-01-11 17:07:45 -0300 |
commit | 62ad3098f33f42dcf10d6eaff63c726bece9497e (patch) | |
tree | 8675864ca4feb21f2767a301c1f02218401d239e /src/dpiapi.c | |
parent | b9f1468f7c49981b3c01e6308b25941aba4e4d94 (diff) |
Modified a_Dialog_choice5() to accept any number of alternatives [p37sitdu]
Diffstat (limited to 'src/dpiapi.c')
-rw-r--r-- | src/dpiapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dpiapi.c b/src/dpiapi.c index d8980a17..4cdde96e 100644 --- a/src/dpiapi.c +++ b/src/dpiapi.c @@ -69,8 +69,8 @@ void a_Dpiapi_dialog(BrowserWindow *bw, char *server, char *dpip_tag) alt4 = a_Dpip_get_attr_l(dpip_tag, dpip_tag_len, "alt4"); alt5 = a_Dpip_get_attr_l(dpip_tag, dpip_tag_len, "alt5"); - ret = a_Dialog_choice5(title, msg, alt1, alt2, alt3, alt4, alt5); - /* As choice5 is modal, call the callback function directly. */ + ret = a_Dialog_choice(title, msg, alt1, alt2, alt3, alt4, alt5, NULL); + /* As choice is modal, call the callback function directly. */ Dpiapi_dialog_answer_cb(bw, ret); dFree(alt1); dFree(alt2); dFree(alt3); dFree(alt4); dFree(alt5); |