Mercurial > dwindows
diff win/dw.c @ 1115:03cd2f3e929d
Fixed a documentation and template error regarding dw_browse() return code.
Also fixed the Windows success return code to match what is expected.
And switched to using the error constants for returns.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 04 Aug 2011 21:34:53 +0000 |
parents | b905fd8e7fd1 |
children | e8e7f048f0b8 |
line wrap: on
line diff
--- a/win/dw.c Sat Jul 30 00:48:56 2011 +0000 +++ b/win/dw.c Thu Aug 04 21:34:53 2011 +0000 @@ -10001,8 +10001,8 @@ retcode = (int)ShellExecute(NULL, "open", browseurl, NULL, NULL, SW_SHOWNORMAL); if(retcode<33 && retcode != 2) - return -1; - return 1; + return DW_ERROR_UNKNOWN; + return DW_ERROR_NONE; } /*