1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/x11/libxklavier/files/patch-tests-test_monitor.c
2004-10-12 16:49:13 +00:00

20 lines
391 B
C

--- tests/test_monitor.c.orig Fri Oct 1 21:52:02 2004
+++ tests/test_monitor.c Tue Oct 12 18:47:32 2004
@@ -42,6 +42,7 @@
int c;
int debugLevel = 0;
XkbEvent ev;
+ Display* dpy;
while (1)
{
@@ -63,7 +64,7 @@
}
}
- Display* dpy = XOpenDisplay( NULL );
+ dpy = XOpenDisplay( NULL );
if ( dpy == NULL )
{
fprintf( stderr, "Could not open display\n" );