Commit 9971235d authored by Yves Combe's avatar Yves Combe
Browse files

trace a bit more

parent 2eecdbe5
2005-08-24 Yves Combe <yves@ycombe.net>
trace a bit more.
* src/gcompris/gcompris_db.c: (gcompris_get_conf_with_table):
2005-08-24 Yves Combe <yves@ycombe.net>
change init_background and board_play order to get entry login active on launch.
......
/* gcompris - gcompris_db.c
*
* Time-stamp: <2005/08/23 22:22:31 yves>
* Time-stamp: <2005/08/24 21:09:54 yves>
*
* Copyright (C) 2000 Bruno Coudoin
*
......@@ -1268,6 +1268,8 @@ GHashTable *gcompris_get_conf_with_table(int profile_id, int board_id, GHashTabl
request = g_strdup_printf(GET_CONF(profile_id,
board_id));
g_warning ( "Request get_conf : %s", request);
rc = sqlite3_get_table(gcompris_db,
request,
&result,
......@@ -1284,6 +1286,8 @@ GHashTable *gcompris_get_conf_with_table(int profile_id, int board_id, GHashTabl
i = ncolumn;
g_warning("key == %s -- value == %s ", result[0], result[1]);
while (i < (nrow +1)*ncolumn){
if (strcmp(result[i+1],"NULL")!=0){
/* "NULL" values are ignored */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment