diff options
-rw-r--r-- | src/client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index de874c8a8..0a47b2bee 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2380,5 +2380,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); } } |