[gnome-games] glchess: null-terminate the string arrays, otherwise GTK+ will crash
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] glchess: null-terminate the string arrays, otherwise GTK+ will crash
- Date: Sun, 18 Sep 2011 23:54:08 +0000 (UTC)
commit 181444db66036ae22da54ab98389176218ef2309
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Mar 30 17:34:30 2011 -0400
glchess: null-terminate the string arrays, otherwise GTK+ will crash
https://bugzilla.gnome.org/show_bug.cgi?id=646276
glchess/src/glchess.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glchess/src/glchess.vala b/glchess/src/glchess.vala
index 8ebf5cc..0de03b9 100644
--- a/glchess/src/glchess.vala
+++ b/glchess/src/glchess.vala
@@ -1341,8 +1341,8 @@ public class Application
}
}
- private const string[] authors = { "Robert Ancell <robert ancell gmail com>" };
- private const string[] artists = { "John-Paul Gignac (3D Models)", "Max Froumentin (2D Models)", "Hylke Bons <h bons student rug nl> (icon)" };
+ private const string[] authors = { "Robert Ancell <robert ancell gmail com>", null };
+ private const string[] artists = { "John-Paul Gignac (3D Models)", "Max Froumentin (2D Models)", "Hylke Bons <h bons student rug nl> (icon)", null };
[CCode (cname = "G_MODULE_EXPORT about_cb", instance_pos = -1)]
public void about_cb (Gtk.Widget widget)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]