diff options
author | ShadowNinja <shadowninja@minetest.net> | 2016-03-19 12:08:24 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2016-03-19 21:27:57 -0400 |
commit | 93887043d9443ba6627fea68921994d0f1896517 (patch) | |
tree | 7199a98377b19afc01517ab795bc4d6dfa073130 /src/mods.cpp | |
parent | eb7db21d50f866d1e847d7556f83995294a7e54f (diff) | |
download | hax-minetest-server-93887043d9443ba6627fea68921994d0f1896517.tar.gz hax-minetest-server-93887043d9443ba6627fea68921994d0f1896517.zip |
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.
Diffstat (limited to 'src/mods.cpp')
-rw-r--r-- | src/mods.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mods.cpp b/src/mods.cpp index be6e1e5d3..1b1bdb07b 100644 --- a/src/mods.cpp +++ b/src/mods.cpp @@ -21,11 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <fstream> #include "mods.h" #include "filesys.h" -#include "strfnd.h" +#include "util/strfnd.h" #include "log.h" #include "subgame.h" #include "settings.h" -#include "strfnd.h" +#include "util/strfnd.h" #include "convert_json.h" #include "exceptions.h" |