[glib] gmem: Fix a typo in the g_try_new0() documentation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gmem: Fix a typo in the g_try_new0() documentation
- Date: Wed, 2 Sep 2015 13:53:04 +0000 (UTC)
commit 7a65d1d3fb86b0ab46a0a425b79985e037cd3b68
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Sep 2 14:48:04 2015 +0100
gmem: Fix a typo in the g_try_new0() documentation
glib/gmem.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmem.h b/glib/gmem.h
index 031271d..c16e812 100644
--- a/glib/gmem.h
+++ b/glib/gmem.h
@@ -313,7 +313,7 @@ g_steal_pointer (gpointer pp)
* to 0's, and returns %NULL on failure. Contrast with g_new0(), which aborts
* the program on failure.
* The returned pointer is cast to a pointer to the given type.
- * The function returns %NULL when @n_structs is 0 of if an overflow occurs.
+ * The function returns %NULL when @n_structs is 0 or if an overflow occurs.
*
* Since: 2.8
* Returns: a pointer to the allocated memory, cast to a pointer to @struct_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]