Blender Git Commit Log
Git Commits -> Revision c91e64f
Revision c91e64f by Bastien Montagne (master) January 5, 2015, 20:38 (GMT) |
Fix/cleanup very ugly and unsafe usage of but->str in ui_but_update(). Currently, but->str should never be smaller than but->strdata, but code shall not rely on this. Further more, but->strdata is 'only' 128 chars, this could become limit with some translations, if the org label is already rather long, leading to truncated str (Chinese e.g. can only store about 40 chars in strdata). |
Commit Details:
Full Hash: c91e64faa612aabac3f99a0b607d42303f945ac9
Parent Commit: e7a9bf8
Lines Changed: +12, -1
1 Modified Path:
/source/blender/editors/interface/interface.c (+12, -1) (Diff)