Mercurial > trustbridge
view HACKING @ 633:6c090638b2b4
Use static buffer for module file name.
According to the msdn examle the return value of getmodulefilename
should be used to indicate success and not the size. And according
to comments on that function on Windows 8.1 it does not return
the needed size. So better be more robust and just use max_path
as a limit.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 23 Jun 2014 15:29:48 +0200 |
parents | 8cfcd38a9bb3 |
children | 1dc1f5a4b577 |
line wrap: on
line source
Please keep C code according to GNU coding standards. With regards to the style: astyle --style=gnu --indent=spaces=2 --pad-paren-out For the C++ Ui code please use the kdelibs coding style astyle --indent=spaces=4 --brackets=linux \ --indent-labels --pad-oper --unpad-paren --pad-header \ --keep-one-line-statements --convert-tabs \ --indent-preprocessor