[asterisk-commits] rizzo: branch group/video_console r89633 - /team/group/video_console/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 27 09:54:07 CST 2007


Author: rizzo
Date: Tue Nov 27 09:54:07 2007
New Revision: 89633

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89633
Log:
fix build when SDL_TTF is available


Modified:
    team/group/video_console/channels/console_video.c

Modified: team/group/video_console/channels/console_video.c
URL: http://svn.digium.com/view/asterisk/team/group/video_console/channels/console_video.c?view=diff&rev=89633&r1=89632&r2=89633
==============================================================================
--- team/group/video_console/channels/console_video.c (original)
+++ team/group/video_console/channels/console_video.c Tue Nov 27 09:54:07 2007
@@ -2288,7 +2288,7 @@
 	SDL_Rect dest = {env->win[WIN_KEYPAD].rect.x + x, y};
 
 	/* clean surface each rewrite */
-	SDL_BlitSurface(env->keypad, NULL, env->screen, &env->win[WIN_KEYPAD].rect);
+	SDL_BlitSurface(env->gui.keypad, NULL, env->screen, &env->win[WIN_KEYPAD].rect);
 
 	output = TTF_RenderText_Solid(env->gui.font, text, color);
 	if (output == NULL) {
@@ -2298,7 +2298,7 @@
 
 	SDL_BlitSurface(output, NULL, env->screen, &dest);
 	
-	SDL_UpdateRects(env->keypad, 1, &env->win[WIN_KEYPAD].rect);
+	SDL_UpdateRects(env->gui.keypad, 1, &env->win[WIN_KEYPAD].rect);
 	SDL_FreeSurface(output);
 	return 0;	/* success */
 #endif




More information about the asterisk-commits mailing list