[glom] GimpRuler: Fix a compiler warning
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] GimpRuler: Fix a compiler warning
- Date: Tue, 8 Oct 2013 20:39:49 +0000 (UTC)
commit 760175b45d1a42daaefc0265bc3aa680643f9960
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Oct 8 22:38:28 2013 +0200
GimpRuler: Fix a compiler warning
.../gimpruler/libgimpbase/gimpunit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/utility_widgets/gimpruler/libgimpbase/gimpunit.c
b/glom/utility_widgets/gimpruler/libgimpbase/gimpunit.c
index 62f52df..bc5e103 100644
--- a/glom/utility_widgets/gimpruler/libgimpbase/gimpunit.c
+++ b/glom/utility_widgets/gimpruler/libgimpbase/gimpunit.c
@@ -425,7 +425,7 @@ gimp_unit_format_string (const gchar *format,
g_return_val_if_fail (format != NULL, NULL);
g_return_val_if_fail (unit == GIMP_UNIT_PERCENT ||
- (unit >= GIMP_UNIT_PIXEL &&
+ ( /* Change for Glom: This is always true: unit >= GIMP_UNIT_PIXEL && */
unit < (guint)gimp_unit_get_number_of_units ()), NULL);
while (i < (sizeof (buffer) - 1) && *format)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]