mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Clean up makeScreenshot() and make message translateable
This commit is contained in:
parent
b9af44b194
commit
38255cb6bb
2 changed files with 22 additions and 23 deletions
|
@ -20,7 +20,7 @@ inline struct tm mt_localtime()
|
|||
#endif
|
||||
});
|
||||
|
||||
struct tm ret;
|
||||
struct tm ret{};
|
||||
time_t t = time(NULL);
|
||||
// TODO we should check if the function returns NULL, which would mean error
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue