fix compiler warning about possible buffer size issue

This commit is contained in:
Paul Davis 2019-10-07 20:49:35 -06:00
parent e6ab652e74
commit e5cb4d295e
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ LuaWindow::save_script ()
// 5) construct filename -- TODO ask user for name, ask to replace file.
do {
char tme[80];
char buf[80];
char buf[100];
time_t t = time(0);
struct tm * timeinfo = localtime (&t);
strftime (tme, sizeof(tme), "%s", timeinfo);