diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-11 12:20:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-11 12:20:48 +0300 |
commit | f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea (patch) | |
tree | 6029f4050a42609fb5045565ea7668cd84e32a3d /src/game.cpp | |
parent | 595155193e6f9202d240f0798a39e33a6779366a (diff) | |
download | manaplus-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.tar.gz manaplus-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.tar.bz2 manaplus-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.tar.xz manaplus-f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea.zip |
Remove useless struct keyword
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index e747bf6bb..4e3c399cd 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -578,7 +578,7 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot, time_t rawtime; char buffer [100]; time(&rawtime); - struct tm *const timeinfo = localtime(&rawtime); + tm *const timeinfo = localtime(&rawtime); strftime(buffer, 99, "%Y-%m-%d_%H-%M-%S", timeinfo); const std::string serverName = settings.serverName; |