projects
/
mancala
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9ae3f2f
)
do not set SDL_caption and Icon, otherwise we get 2 windows in maemo taskswitcher
author
Reto Zingg
<g.d0b3rm4n@gmail.com>
Mon, 28 Dec 2009 14:56:07 +0000
(16:56 +0200)
committer
Reto Zingg
<g.d0b3rm4n@gmail.com>
Mon, 28 Dec 2009 14:56:07 +0000
(16:56 +0200)
src/play.c
patch
|
blob
|
history
diff --git
a/src/play.c
b/src/play.c
index
e18b642
..
cb761dd
100644
(file)
--- a/
src/play.c
+++ b/
src/play.c
@@
-211,10
+211,10
@@
int play() {
board_rect.h = 0;
/* set window properties and create it */
board_rect.h = 0;
/* set window properties and create it */
- SDL_WM_SetCaption("Mancala", "Mancala");
- if (sprintf(icon_path, "%s/icon.png", RES_PATH) == 0)
- printf("Problems assembling icon path.\n");
- SDL_WM_SetIcon(LoadRes(icon_path), NULL);
+ // SDL_WM_SetCaption("Mancala", "Mancala");
+ // if (sprintf(icon_path, "%s/icon.png", RES_PATH) == 0)
+ // printf("Problems assembling icon path.\n");
+ // SDL_WM_SetIcon(LoadRes(icon_path), NULL);
if ((screen = SDL_SetVideoMode(tile->w*8, (tile->h*2) + Y_OFFSET, 16, SDL_FULLSCREEN))
== NULL) {
printf("Unable to set %dx%d video: %s", tile->w*8,
if ((screen = SDL_SetVideoMode(tile->w*8, (tile->h*2) + Y_OFFSET, 16, SDL_FULLSCREEN))
== NULL) {
printf("Unable to set %dx%d video: %s", tile->w*8,