Parent Directory | Revision Log | Patch
revision 20 by matty, Mon Oct 16 07:37:52 2000 UTC | revision 21 by matty, Mon Oct 16 08:44:48 2000 UTC | |
---|---|---|
# | Line 41 BOOL ui_create_window(char *title) | Line 41 BOOL ui_create_window(char *title) |
41 | ||
42 | display = XOpenDisplay(NULL); | display = XOpenDisplay(NULL); |
43 | if (display == NULL) | if (display == NULL) |
44 | { | |
45 | ERROR("Failed to open display\n"); | |
46 | return False; | return False; |
47 | } | |
48 | ||
49 | /* Check the screen supports 8-bit depth. */ | /* Check the screen supports 8-bit depth. */ |
50 | screen = DefaultScreenOfDisplay(display); | screen = DefaultScreenOfDisplay(display); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |