mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
217c6462f5
commit
9d8b05f47e
2 changed files with 14 additions and 12 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue