projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d37fdc
)
fix month in snap filename timestamp
author
Good Guy
<
[email protected]
>
Sat, 21 Oct 2017 23:53:14 +0000
(17:53 -0600)
committer
Good Guy
<
[email protected]
>
Sat, 21 Oct 2017 23:53:14 +0000
(17:53 -0600)
cinelerra-5.1/cinelerra/editpopup.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/cinelerra/editpopup.C
b/cinelerra-5.1/cinelerra/editpopup.C
index fc1da9d09c7acf518e5cb0ca6e5be287ee6a5c13..5c8291a87033695c54628c552f5d32e40f1e1e4a 100644
(file)
--- a/
cinelerra-5.1/cinelerra/editpopup.C
+++ b/
cinelerra-5.1/cinelerra/editpopup.C
@@
-385,7
+385,8
@@
int SnapshotMenuItem::handle_event()
time_t tt; time(&tt);
struct tm tm; localtime_r(&tt,&tm);
sprintf(filename,"%s/snap_%04d%02d%02d-%02d%02d%02d.%s",
- preferences->snapshot_path, 1900+tm.tm_year,tm.tm_mon,tm.tm_mday,
+ preferences->snapshot_path,
+ 1900+tm.tm_year,1+tm.tm_mon,tm.tm_mday,
tm.tm_hour,tm.tm_min,tm.tm_sec, exts[mode]);
int fw = edl->get_w(), fh = edl->get_h();
int fcolor_model = edl->session->color_model;