summaryrefslogtreecommitdiff
path: root/doc/translations.txt
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2015-03-25 13:28:15 -0400
committerNat Goodspeed <nat@lindenlab.com>2015-03-25 13:28:15 -0400
commitd24c59bb139bbbd23f339952de0b25bfd30e9658 (patch)
tree1c018c40c127dde5c1803fba3b5d734ce3dcb21c /doc/translations.txt
parent032f27aaebc99b0ae4398ed40adc38cc295ba6c8 (diff)
Add logic to attempt to look up large Windows negative return codes.
A large negative return code doesn't do a human reader any good, even for lookup purposes, because Microsoft's lookup tables list the hex representation of that integer. So at least format the return code as hex. Going further, we've captured the content of the web page https://msdn.microsoft.com/en-us/library/cc704588.aspx as windows-rcs.html. If we can parse that file, and if we understand the structure of its table entries, and if the hex form of the actual return code is in fact listed there, we can display the symbol name and description as well as the hex return code. All those maybes are to support refreshing the file from the URL above (or wherever it might get moved) from time to time. Later versions of that file might change in unexpected ways. If we can't look up the hex rc, oh well, just display that to the user instead of crumping.
Diffstat (limited to 'doc/translations.txt')
0 files changed, 0 insertions, 0 deletions