projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into browser
[projects/chimara/chimara.git]
/
libchimara
/
chimara-if.c
diff --git
a/libchimara/chimara-if.c
b/libchimara/chimara-if.c
index 3879a12c2d721fb3e66febffe1e226a0715c5f8f..9b5d629d98473a5bb6de58c278771dd785105523 100644
(file)
--- a/
libchimara/chimara-if.c
+++ b/
libchimara/chimara-if.c
@@
-574,7
+574,7
@@
chimara_if_get_preferred_interpreter(ChimaraIF *self, ChimaraIFFormat format)
* case @error is set.
*/
gboolean
* case @error is set.
*/
gboolean
-chimara_if_run_game(ChimaraIF *self,
g
char *gamefile, GError **error)
+chimara_if_run_game(ChimaraIF *self,
const
char *gamefile, GError **error)
{
g_return_val_if_fail(self && CHIMARA_IS_IF(self), FALSE);
g_return_val_if_fail(gamefile, FALSE);
{
g_return_val_if_fail(self && CHIMARA_IS_IF(self), FALSE);
g_return_val_if_fail(gamefile, FALSE);
@@
-679,7
+679,7
@@
chimara_if_run_game(ChimaraIF *self, gchar *gamefile, GError **error)
}
/* Game file and external blorb file */
}
/* Game file and external blorb file */
- args = g_slist_prepend(args, gamefile);
+ args = g_slist_prepend(args,
(gpointer)
gamefile);
if(priv->graphics_file
&& (interpreter == CHIMARA_IF_INTERPRETER_FROTZ || interpreter == CHIMARA_IF_INTERPRETER_NITFOL)
&& g_file_test(priv->graphics_file, G_FILE_TEST_EXISTS)) {
if(priv->graphics_file
&& (interpreter == CHIMARA_IF_INTERPRETER_FROTZ || interpreter == CHIMARA_IF_INTERPRETER_NITFOL)
&& g_file_test(priv->graphics_file, G_FILE_TEST_EXISTS)) {