Mercurial > install
changeset 3:445f5fc8d53d
Fix MLEs being editable by default. Fix calling convention of threads using VAC. Fix return code from dw_filesystem_setup() being obsolete.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Sun, 13 Nov 2011 07:50:48 -0600 |
parents | f3314e97472f |
children | a6460dd3320a |
files | install.c instsup.h rexx.c |
diffstat | 3 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/install.c Sun Nov 13 07:22:43 2011 -0600 +++ b/install.c Sun Nov 13 07:50:48 2011 -0600 @@ -1537,7 +1537,7 @@ */ void setdir(HWND hwnd) { - if(!dw_filesystem_setup(hwnd, NULL, NULL, 0)) + if(dw_filesystem_setup(hwnd, NULL, NULL, 0)) dw_messagebox("HandyFTP", DW_MB_OK | DW_MB_ERROR, "Error Creating Container!"); dw_signal_connect(hwnd, DW_SIGNAL_ITEM_ENTER, DW_SIGNAL_FUNC(containerselect), NULL); @@ -1904,6 +1904,7 @@ dw_box_pack_start(mainbox, mle, 130, 350, TRUE, TRUE, 4); dw_mle_set_word_wrap(mle, TRUE); + dw_mle_set_editable(mle, FALSE); /* Buttons */ buttonbox = dw_box_new(BOXHORZ, 0);
--- a/instsup.h Sun Nov 13 07:22:43 2011 -0600 +++ b/instsup.h Sun Nov 13 07:50:48 2011 -0600 @@ -28,7 +28,7 @@ /* There are actually in rexx.c but they are the only two entry points. */ void rexx_init(void); void rexx_deinit(void); -int rexx_run(char *filename); +int API rexx_run(char *filename); #ifdef __INSTSUP_PRIVATE__ typedef struct _rexx_var
--- a/rexx.c Sun Nov 13 07:22:43 2011 -0600 +++ b/rexx.c Sun Nov 13 07:50:48 2011 -0600 @@ -506,6 +506,7 @@ { windowhandle = dw_mle_new((int)mydata); dw_mle_set_word_wrap(windowhandle, TRUE); + dw_mle_set_editable(windowhandle, FALSE); } int EXPENTRY rexx_dw_mle_new(PCSZ Name, ULONG ArgCount, RXSTRING Args[], PCSZ Queuename, PRXSTRING Retstr) @@ -1491,7 +1492,7 @@ RexxDeregisterFunction("inst_chdir"); } -int rexx_run(char *filename) +int API rexx_run(char *filename) { LONG rc; SHORT retCode;