diff options
author | Yann Droneaud <yann@droneaud.fr> | 2011-10-11 17:27:59 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:25 +0200 |
commit | cded3305d3c10f1b3918ea07120fb527f85b7802 (patch) | |
tree | 524a27298bc2a3860e2c9d4dfe7dfe4fbb0da5a9 /nxcomp/SetUnpackColormap.cpp | |
parent | 8d1e059403555e7feafdaff788c9e716fcb68ce3 (diff) | |
download | nx-libs-cded3305d3c10f1b3918ea07120fb527f85b7802.tar.gz nx-libs-cded3305d3c10f1b3918ea07120fb527f85b7802.tar.bz2 nx-libs-cded3305d3c10f1b3918ea07120fb527f85b7802.zip |
Return name instead of False in XSetICValues()
In case of error, XSetICValues() must return the first argument
that failed to be set.
But in some error paths, it returns False, which is converted to NULL,
so the function returns OK in case of error.
Signed-off-by: Yann Droneaud <yann@droneaud.fr>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nxcomp/SetUnpackColormap.cpp')
0 files changed, 0 insertions, 0 deletions