diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-21 06:12:33 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-21 06:23:49 -0700 |
commit | 9d8b05f47e8d608a7a8b2d565905a2d6c1feb274 (patch) | |
tree | 8bd54f6319eadf92e67aa2e401225bd8c33290bf /save-git.c | |
parent | 217c6462f5f32732afa18d3a5f074bd5f736afd0 (diff) | |
download | subsurface-9d8b05f47e8d608a7a8b2d565905a2d6c1feb274.tar.gz |
Git storage: replaces colons with equal in picture offset
I found another place where we had colons in file names...
This fixes a small cut and paste error in an error message as well.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
-rw-r--r-- | save-git.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-git.c b/save-git.c index 4e5ed38e0..f674b9d84 100644 --- a/save-git.c +++ b/save-git.c @@ -608,7 +608,7 @@ static int save_one_picture(git_repository *repo, struct dir *dir, struct pictur /* Use full hh:mm:ss format to make it all sort nicely */ h = offset / 3600; offset -= h *3600; - return blob_insert(repo, dir, &buf, "%c%02u:%02u:%02u", + return blob_insert(repo, dir, &buf, "%c%02u=%02u=%02u", sign, h, FRACTION(offset, 60)); } |