mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-26 13:25:27 +01:00
Clean up makeScreenshot() and make message translateable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user