[gnome-color-manager] Format the year properly in the generated ICC profile
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Format the year properly in the generated ICC profile
- Date: Sun, 1 Nov 2009 21:32:09 +0000 (UTC)
commit e268758973c6c1bc4d267bb350732b084a49c758
Author: Richard Hughes <richard hughsie com>
Date: Sun Nov 1 18:51:32 2009 +0000
Format the year properly in the generated ICC profile
src/gcm-calibrate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index 6acff1d..8318370 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -552,7 +552,7 @@ gcm_calibrate_task_generate_profile (GcmCalibrate *calibrate, GError **error)
}
/* form copyright */
- copyright = g_strdup_printf ("Copyright %s, %i/%i/%i", username, date->year, date->month, date->day);
+ copyright = g_strdup_printf ("Copyright %s, %04i/%02i/%02i", username, date->year, date->month, date->day);
/* argument array */
array = g_ptr_array_new_with_free_func (g_free);
@@ -561,7 +561,7 @@ gcm_calibrate_task_generate_profile (GcmCalibrate *calibrate, GError **error)
g_ptr_array_add (array, g_strdup ("-v"));
g_ptr_array_add (array, g_strdup_printf ("-A%s", manufacturer));
g_ptr_array_add (array, g_strdup_printf ("-M%s", model));
- g_ptr_array_add (array, g_strdup_printf ("-D%s", description));
+ g_ptr_array_add (array, g_strdup_printf ("-DCustom, %s", description));
g_ptr_array_add (array, g_strdup_printf ("-C%s", copyright));
g_ptr_array_add (array, g_strdup ("-qm"));
g_ptr_array_add (array, g_strdup ("-as"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]