Clean up Strfnd
authorShadowNinja <shadowninja@minetest.net>
Sat, 19 Mar 2016 16:08:24 +0000 (12:08 -0400)
committerShadowNinja <shadowninja@minetest.net>
Sun, 20 Mar 2016 01:27:57 +0000 (21:27 -0400)
commit93887043d9443ba6627fea68921994d0f1896517
tree7199a98377b19afc01517ab795bc4d6dfa073130
parenteb7db21d50f866d1e847d7556f83995294a7e54f
Clean up Strfnd

Changes:
  * Fix indentation.
  * Pass strings by const reference.
  * Merge Strfnd and WStrfnd into one class instead of copying them.
  * Remove trailing spaces.
  * Fix variable names.
  * Move to util.
  * Other miscellaneous style fixes.
14 files changed:
src/ban.cpp
src/chat.cpp
src/client/tile.cpp
src/craftdef.cpp
src/guiFormSpecMenu.cpp
src/inventory.cpp
src/inventorymanager.cpp
src/mods.cpp
src/network/clientpackethandler.cpp
src/settings.cpp
src/shader.cpp
src/strfnd.h [deleted file]
src/subgame.cpp
src/util/strfnd.h [new file with mode: 0644]