From f323e693c7049b0316c82cfbaf6b1a8a4c738f23 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Wed, 30 Jul 2008 01:14:51 -0500 Subject: [PATCH] Changing some internals to see if it fixes a mod segfault. --- src/mods/space/run.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mods/space/run.cpp b/src/mods/space/run.cpp index db9df57..8005a90 100644 --- a/src/mods/space/run.cpp +++ b/src/mods/space/run.cpp @@ -35,11 +35,13 @@ #include int space_run(); -const char *space_name = "Space Demo"; -const char *space_desc = "A simple demo with planets and satellites flying about"; /* see mods/list.h for what this is for... */ -struct mod space_mod = { space_run, space_name, space_desc }; +struct mod space_mod = { + space_run, + "Space Demo", + "A simple demo with planets and satellites flying about" +}; static GLuint make_stars(int,int); static int gl_init(); -- 2.11.4.GIT