fix output

This commit is contained in:
Glenn Maynard
2004-05-18 06:35:37 +00:00
parent d2268fdf1e
commit efe328a924
+1 -1
View File
@@ -82,7 +82,7 @@ SDL_Surface *RageSurface_Load_XPM( char * const *xpm, CString &error )
const CString row = xpm[line++];
if( (int) row.size() != width*color_length )
{
error = ssprintf( "row %i is not expected length (%i != %i)", y, row.size(), width, color_length );
error = ssprintf( "row %i is not expected length (%i != %i)", y, row.size(), width*color_length );
SDL_FreeSurface( img );
return NULL;
}