Commit 0f744108 authored by Bruno Coudoin's avatar Bruno Coudoin

fixed in make prep removed printout

	* Makefile.mingw: fixed in make prep
	* src/boards/memory.c: (get_random_token): removed printout
parent 4df6d87a
2005-11-20 Bruno coudoin <bruno.coudoin@free.fr>
* Makefile.mingw: fixed in make prep
* src/boards/memory.c: (get_random_token): removed printout
2005-11-19 Bruno coudoin <bruno.coudoin@free.fr>
- Fixed a crash in memory.c
......
......@@ -118,5 +118,5 @@ prep:
@echo "Copy pixmap"
mkdir $(GCOMPRIS_INSTALL_DIR)/share/pixmaps
cp gcompris.png $(GCOMPRIS_INSTALL_DIR)/share/pixmaps
@echo "Create the file gcompris-win-prepack.tar.gz
@echo "Create the file gcompris-win-prepack.tar.gz"
tar -czf gcompris-win-prepack.tar.gz win32-install-dir nsis
/* gcompris - memory.c
*
* Time-stamp: <2005/11/18 23:42:57 bruno>
* Time-stamp: <2005/11/19 18:43:42 bruno>
*
* Copyright (C) 2000 Bruno Coudoin
*
......@@ -402,7 +402,7 @@ void get_random_token(int token_type, gint *returned_type, gchar **string)
type = ((DATUM *)list->data)->type;
printf("K=%d\n", k);
switch (type) {
case TYPE_IMAGE:
result= g_strdup(imageList[k]);
......@@ -427,7 +427,7 @@ void get_random_token(int token_type, gint *returned_type, gchar **string)
g_error("never !");
break;
}
printf(" %s\n", result);
} while ((j < max_token )
&& (passed_token && result && g_list_find_custom(passed_token, result, (GCompareFunc)strcmp)));
......
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