aboutsummaryrefslogtreecommitdiffstats
path: root/doc/fr
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2017-07-28 16:02:07 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-07-28 16:02:46 +0200
commit5722d2ea4ca3eec0fe53f96e166d03df8cdb5c07 (patch)
tree90d6848e1c87ebde1fc5d0ee5b6755e7c6e5dc2c /doc/fr
parent5aa7a0962a2728e6b2164c4531d3995b33cb71b8 (diff)
downloadcalcurse-5722d2ea4ca3eec0fe53f96e166d03df8cdb5c07.tar.gz
calcurse-5722d2ea4ca3eec0fe53f96e166d03df8cdb5c07.zip
Fix segmentation fault when changing colors
The pair_content() function can be used to retrieve a color pair. The foreground and the background color numbers are written to addresses specified by the second and third parameters. While both parameters were optional in older ncurses implementations (making it possible to pass NULL pointers if the one does not care about either foreground or background color), recent implementations seem to assume that both parameters are valid pointers. Thus, instead of passing NULL, we need to pass a pointer to a dummy variable when we do not care about the background color. Partly fixes GitHub issue #31. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc/fr')
0 files changed, 0 insertions, 0 deletions