summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ab9557fe..c5986de0 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1408,5 +1408,10 @@ void Client::resizeVideo(int width, int height)
mGame->videoResized(width, height);
gui->draw();
+
+ // Since everything appears to have worked out, remember to store the
+ // new size in the configuration.
+ config.setValue("screenwidth", width);
+ config.setValue("screenheight", height);
}
}