summaryrefslogtreecommitdiff
path: root/glib/gdate.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-05-20 17:54:48 -0300
committerDan Winship <danw@gnome.org>2013-05-21 11:23:22 -0300
commit4b94c0831e449374ce769cb4938a28b3dca59a43 (patch)
tree28f53ec4bc4bd8e224e9747e90f87f9308a119bc /glib/gdate.c
parent52f6a7d16250d2b180c83cce8929f3e14972e1a9 (diff)
downloadglib-4b94c0831e449374ce769cb4938a28b3dca59a43.tar.gz
Use 'dumb quotes' rather than `really dumb quotes'
Back in the far-off twentieth century, it was normal on unix workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027 APOSTROPHE to be drawn as "’". This led to the convention of using them as poor-man's ‛smart quotes’ in ASCII-only text. However, "'" is now universally drawn as a vertical line, and "`" at a 45-degree angle, making them an `odd couple' when used together. Unfortunately, there are lots of very old strings in glib, and also lots of new strings in which people have kept up the old tradition, perhaps entirely unaware that it used to not look stupid. Fix this by just using 'dumb quotes' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=700746
Diffstat (limited to 'glib/gdate.c')
-rw-r--r--glib/gdate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gdate.c b/glib/gdate.c
index d9b25f346..1978cf700 100644
--- a/glib/gdate.c
+++ b/glib/gdate.c
@@ -1096,7 +1096,7 @@ g_date_prepare_to_parse (const gchar *str,
++i;
}
DEBUG_MSG (("**Order: %s, %s, %s", strings[0], strings[1], strings[2]));
- DEBUG_MSG (("**Sample date in this locale: `%s'", buf));
+ DEBUG_MSG (("**Sample date in this locale: '%s'", buf));
}
#endif
}
@@ -1137,7 +1137,7 @@ g_date_set_parse (GDate *d,
g_date_prepare_to_parse (str, &pt);
- DEBUG_MSG (("Found %d ints, `%d' `%d' `%d' and written out month %d",
+ DEBUG_MSG (("Found %d ints, '%d' '%d' '%d' and written out month %d",
pt.num_ints, pt.n[0], pt.n[1], pt.n[2], pt.month));