diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-05-24 08:56:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 08:56:40 +0200 |
commit | 099624a513198334ba66c4770e8679d6b2a9138a (patch) | |
tree | bc6d0fbdd4070fdd5cc02fd79f61a0c55b7cdd0a /src/tool.cpp | |
parent | e8fb1f79bcd4261e2ed58f2f4286994d947572e2 (diff) | |
download | minetest-099624a513198334ba66c4770e8679d6b2a9138a.tar.gz minetest-099624a513198334ba66c4770e8679d6b2a9138a.tar.bz2 minetest-099624a513198334ba66c4770e8679d6b2a9138a.zip |
Revert 1469424 and fix wrong char position when doing mouse selection on intlGUIEditBox (#5806)
* Revert 1469424075affce7c27bb44e5a5cbd51485e44b2 and fix wrong char position when doing mouse selection on intlGUIEditBox
position should look at current line not the whole text and shift 1 character on the last line (due to \0 string delimiter)
* Finish the fix and prevent values under zero for getCursorPos which crash the program if found
* Forget to remove old comment
* fix zero to NULL
* Fix typo
Diffstat (limited to 'src/tool.cpp')
0 files changed, 0 insertions, 0 deletions