summaryrefslogtreecommitdiff
path: root/src/player.cc
diff options
context:
space:
mode:
authordeva <deva>2005-03-27 13:53:41 +0000
committerdeva <deva>2005-03-27 13:53:41 +0000
commit3392d8657f6f6ebc341709d5f500040ed4f559ef (patch)
tree8049cb88fe84266189b622b8f1565145905346cc /src/player.cc
parentc61ab7c4232eb80b7cc3c2f37ba2715e16b4ee73 (diff)
Added more error detection to cprdatabase connection. (Timeout)
Diffstat (limited to 'src/player.cc')
-rw-r--r--src/player.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player.cc b/src/player.cc
index 1cc0dce..85a961a 100644
--- a/src/player.cc
+++ b/src/player.cc
@@ -47,12 +47,12 @@ Player::Player(Error *err,
return;
}
screen = SDL_SetVideoMode(DISPLAYWIDTH,
- DISPLAYHEIGHT,
- 16,
- SDL_HWSURFACE|SDL_ANYFORMAT|SDL_HWACCEL);
+ DISPLAYHEIGHT,
+ 16,
+ SDL_HWSURFACE|SDL_ANYFORMAT|SDL_HWACCEL);
if(!screen) {
sprintf(errbuf, "Unable to set %dx%d video: %s\n",
- DISPLAYWIDTH, DISPLAYHEIGHT, SDL_GetError());
+ DISPLAYWIDTH, DISPLAYHEIGHT, SDL_GetError());
errobj->pushError(errbuf);
return;
}