aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_inventory.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-16 20:33:07 +0200
committerest31 <MTest31@outlook.com>2015-06-16 20:33:07 +0200
commit7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1 (patch)
tree1894b7a5a4f31bee0d4a70c09182349bf0e99175 /src/unittest/test_inventory.cpp
parent7b7f8b72257fa83e43dc95117dd7e7c6d2e218d9 (diff)
downloadminetest-7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1.tar.gz
minetest-7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1.tar.bz2
minetest-7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1.zip
GUIFormSpecMenu::OnEvent code style update and small refactor
* Make method (more) consistent with current code stlye * Move index into loop constructor after @rubenwardy's suggestion * Cache inv_s->getList(s.listname), which removes a possibly bad scenario of inv_s being null. * Properly check for validity
Diffstat (limited to 'src/unittest/test_inventory.cpp')
0 files changed, 0 insertions, 0 deletions