Mercurial > hg > forks > geeqie
changeset 2101:40bcef39af3d
Whitespace cleanup
author | Michal Čihař <mcihar@suse.cz> |
---|---|
date | Tue, 21 Aug 2012 11:40:57 +0200 |
parents | b2d8adb561e3 |
children | b141d52944ab |
files | src/color-man.c src/exif-common.c |
diffstat | 2 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/color-man.c Tue Aug 21 11:40:19 2012 +0200 +++ b/src/color-man.c Tue Aug 21 11:40:57 2012 +0200 @@ -454,7 +454,7 @@ if (!cm) return FALSE; cc = cm->profile; - + if (image_profile) *image_profile = color_man_get_profile_name(cc->profile_in_type, cc->profile_in); if (screen_profile) *screen_profile = color_man_get_profile_name(cc->profile_out_type, cc->profile_out); return TRUE;
--- a/src/exif-common.c Tue Aug 21 11:40:19 2012 +0200 +++ b/src/exif-common.c Tue Aug 21 11:40:57 2012 +0200 @@ -125,13 +125,13 @@ static gboolean remove_suffix(gchar *str, const gchar *suffix, gint suffix_len) { gint str_len = strlen(str); - + if (suffix_len < 0) suffix_len = strlen(suffix); if (str_len < suffix_len) return FALSE; - + if (strcmp(str + str_len - suffix_len, suffix) != 0) return FALSE; str[str_len - suffix_len] = '\0'; - + return TRUE; } @@ -161,7 +161,7 @@ gint i, j; g_strstrip(software); - + /* remove superfluous spaces (pentax K100D) */ for (i = 0, j = 0; software[i]; i++, j++) { @@ -655,14 +655,14 @@ ExifData *exif_read_fd(FileData *fd) { gchar *sidecar_path; - + if (!exif_cache) exif_init_cache(); if (!fd) return NULL; - + if (file_cache_get(exif_cache, fd)) return fd->exif; g_assert(fd->exif == NULL); - + /* CACHE_TYPE_XMP_METADATA file should exist only if the metadata are * not writable directly, thus it should contain the most up-to-date version */ sidecar_path = NULL;