2013-09-26 17:14:40 +02:00

14 lines
553 B
Plaintext

$NetBSD: patch-ab,v 1.5 2006/05/13 20:52:35 adam Exp $
--- src/Unix/video_x.cpp.orig 2006-01-03 23:03:27.000000000 +0100
+++ src/Unix/video_x.cpp
@@ -2326,7 +2326,7 @@ static void update_display_dynamic(int t
static void update_display_static(driver_window *drv)
{
// Incremental update code
- unsigned wide = 0, high = 0, x1, x2, y1, y2, i, j;
+ int wide = 0, high = 0, x1, x2, y1, y2, i, j;
const video_mode &mode = drv->monitor.get_current_mode();
int bytes_per_row = mode.bytes_per_row;
int bytes_per_pixel = mode.bytes_per_row / mode.x;