aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-04-23 18:59:23 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-04-23 18:59:23 +0300
commit96e09703ba461923c2d8ffa3aeed8c6d0169b13f (patch)
tree5a52241bbf069554b01762aa5bf61dde78871ec0
parentea69a49a7ba040a2e197ae2bbe5ac31f6738a3ba (diff)
downloadminetest-96e09703ba461923c2d8ffa3aeed8c6d0169b13f.tar.gz
minetest-96e09703ba461923c2d8ffa3aeed8c6d0169b13f.tar.bz2
minetest-96e09703ba461923c2d8ffa3aeed8c6d0169b13f.zip
fix to the previous commit
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5349310d6..0426b6a49 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -162,6 +162,8 @@ SUGG: Draw cubes in inventory directly with 3D drawing commands, so that
SUGG: Option for enabling proper alpha channel for textures
TODO: A setting for enabling bilinear filtering for textures
+TODO: Better control of draw_control.wanted_max_blocks
+
Configuration:
--------------
@@ -1412,7 +1414,7 @@ int main(int argc, char *argv[])
#ifdef NDEBUG
catch(std::exception &e)
{
- narrow_message = "Some exception, what()=\"";
+ std::string narrow_message = "Some exception, what()=\"";
narrow_message += e.what();
narrow_message += "\"";
dstream<<DTIME<<narrow_message<<std::endl;