--- sourceforge.net/trunk/rdesktop/xwin.c 2004/02/03 13:55:12 594 +++ sourceforge.net/trunk/rdesktop/xwin.c 2004/02/07 18:47:06 603 @@ -23,6 +23,7 @@ #include #include #include +#include #include "rdesktop.h" #include "xproto.h" @@ -63,7 +64,7 @@ /* software backing store */ static BOOL g_ownbackstore; -static Pixmap g_backstore = NULL; +static Pixmap g_backstore = 0; /* Moving in single app mode */ static BOOL g_moving_wnd; @@ -894,7 +895,7 @@ if (g_gc == NULL) g_gc = XCreateGC(g_display, g_wnd, 0, NULL); - if ((g_ownbackstore) && (g_backstore == NULL)) + if ((g_ownbackstore) && (g_backstore == 0)) { g_backstore = XCreatePixmap(g_display, g_wnd, g_width, g_height, g_depth);