[nautilus] update ZERO_OR_THREE_DIGITS define to work as intended
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] update ZERO_OR_THREE_DIGITS define to work as intended
- Date: Fri, 27 Apr 2012 19:06:53 +0000 (UTC)
commit 84e0604672052a7ed9de2736ca6553b78bc8733a
Author: Sebastien Bacher <seb128 ubuntu com>
Date: Fri Apr 27 12:09:32 2012 +0200
update ZERO_OR_THREE_DIGITS define to work as intended
https://bugzilla.gnome.org/show_bug.cgi?id=674924
libnautilus-private/nautilus-icon-canvas-item.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-canvas-item.c b/libnautilus-private/nautilus-icon-canvas-item.c
index 2faff83..4735e71 100644
--- a/libnautilus-private/nautilus-icon-canvas-item.c
+++ b/libnautilus-private/nautilus-icon-canvas-item.c
@@ -1471,7 +1471,7 @@ nautilus_icon_canvas_item_draw (EelCanvasItem *item,
#define ZERO_WIDTH_SPACE "\xE2\x80\x8B"
#define ZERO_OR_THREE_DIGITS(p) \
- (!g_ascii_isdigit (*p) || \
+ (!g_ascii_isdigit (*(p)) || \
(g_ascii_isdigit (*(p+1)) && \
g_ascii_isdigit (*(p+2))))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]