Mercurial > dwindows
comparison dwtest.c @ 2054:466cf00f409f
Fixed swapped parameters in web_html_result in the test program.
These parameters were not used, but name them correctly for clarity.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 02 Dec 2019 09:06:53 +0000 |
parents | c4fc33d70a8e |
children | 2c2530f8cbef |
comparison
equal
deleted
inserted
replaced
2053:026f033ac1c1 | 2054:466cf00f409f |
---|---|
1730 dw_free(script); | 1730 dw_free(script); |
1731 return FALSE; | 1731 return FALSE; |
1732 } | 1732 } |
1733 | 1733 |
1734 /* Handle web javascript result */ | 1734 /* Handle web javascript result */ |
1735 int DWSIGNAL web_html_result(HWND html, int status, char *result, void *user_data, void *script_data) | 1735 int DWSIGNAL web_html_result(HWND html, int status, char *result, void *script_data, void *user_data) |
1736 { | 1736 { |
1737 dw_messagebox("Javascript Result", DW_MB_OK | (status ? DW_MB_ERROR : DW_MB_INFORMATION), | 1737 dw_messagebox("Javascript Result", DW_MB_OK | (status ? DW_MB_ERROR : DW_MB_INFORMATION), |
1738 result ? result : "Javascript result is not a string value"); | 1738 result ? result : "Javascript result is not a string value"); |
1739 return TRUE; | 1739 return TRUE; |
1740 } | 1740 } |