comparison src/video/gem/SDL_gemvideo.c @ 924:6e81ce1372d1

Too much backslash-n at end of line
author Patrice Mandin <patmandin@gmail.com>
date Thu, 05 Aug 2004 19:50:06 +0000
parents 2748679027ff
children 15ff92ae7e1b
comparison
equal deleted inserted replaced
923:2748679027ff 924:6e81ce1372d1
661 } 661 }
662 662
663 /* Calculate window size */ 663 /* Calculate window size */
664 if (!wind_calc(WC_BORDER, GEM_win_type, 0,0,width,height, &x2,&y2,&w2,&h2)) { 664 if (!wind_calc(WC_BORDER, GEM_win_type, 0,0,width,height, &x2,&y2,&w2,&h2)) {
665 GEM_FreeBuffers(this); 665 GEM_FreeBuffers(this);
666 SDL_SetError("Can not calculate window attributes\n"); 666 SDL_SetError("Can not calculate window attributes");
667 return NULL; 667 return NULL;
668 } 668 }
669 669
670 /* Center window */ 670 /* Center window */
671 x2 = GEM_desk_x+((GEM_desk_w-w2)>>1); 671 x2 = GEM_desk_x+((GEM_desk_w-w2)>>1);
673 673
674 /* Create window */ 674 /* Create window */
675 GEM_handle=wind_create(GEM_win_type, x2,y2,w2,h2); 675 GEM_handle=wind_create(GEM_win_type, x2,y2,w2,h2);
676 if (GEM_handle<0) { 676 if (GEM_handle<0) {
677 GEM_FreeBuffers(this); 677 GEM_FreeBuffers(this);
678 SDL_SetError("Can not create window\n"); 678 SDL_SetError("Can not create window");
679 return NULL; 679 return NULL;
680 } 680 }
681 681
682 #ifdef DEBUG_VIDEO_GEM 682 #ifdef DEBUG_VIDEO_GEM
683 printf("sdl:video:gem: handle=%d\n", GEM_handle); 683 printf("sdl:video:gem: handle=%d\n", GEM_handle);