Output Version of Tux Paint and Windows

This enables to know the user's environment easily.
This commit is contained in:
dolphin6k 2023-10-28 17:55:38 +09:00
parent 9cc26e6ed6
commit 10a0a34b1b
3 changed files with 65 additions and 1 deletions

View file

@ -390,6 +390,7 @@ typedef struct safer_dirent
#define wcstombs(tok, wtok, size) WideCharToMultiByte(CP_UTF8,0,wtok,-1,tok,size,NULL,NULL)
extern int win32_trash(const char *path);
extern void win32_print_version(void);
#undef iswprint
int iswprint(wchar_t wc)
@ -30579,6 +30580,12 @@ int main(int argc, char *argv[])
}
#endif
#ifdef WIN32
printf("Tux Paint Version " VER_VERSION " (" VER_DATE ")\n");
printf("Running on ");
win32_print_version();
#endif
claim_to_be_ready();
mainloop();