Fix to BLF_pgettext, which was returning "" when passed NULL msgid... Never noticed...
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 8 Mar 2013 15:34:23 +0000 (15:34 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 8 Mar 2013 15:34:23 +0000 (15:34 +0000)
commit589a73a43fd6d5f3e0e693117d91d150ca67de11
tree482eb4ba00730d14b4736c406f359ccce54bce0d
parentf9b50facd7b02e5348266ad7ef1c604c4ed4d5ad
Fix to BLF_pgettext, which was returning "" when passed NULL msgid... Never noticed any problem, but it looks it could produce strange UI issues (like deactivated buttons), and it was not consistent anyway!

Thanks to S. Lockal for spotting the issue and providing a patch.
source/blender/blenfont/intern/blf_translation.c