--- a/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c Tue Jun 16 00:37:39 2009 -0700
+++ b/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c Wed Jun 17 21:13:04 2009 +0100
@@ -337,7 +337,7 @@
char errmsg[128];
int xinawareScreen;
void* xrenderLibHandle = NULL;
- XRenderFindVisualFormatFunc *XRenderFindVisualFormat = NULL;
+ XRenderFindVisualFormatFunc* xrenderFindVisualFormat = NULL;
int major_opcode, first_event, first_error;
if (usingXinerama) {
@@ -435,7 +435,7 @@
#endif
if (xrenderLibHandle != NULL) {
- XRenderFindVisualFormat =
+ xrenderFindVisualFormat =
(XRenderFindVisualFormatFunc*)dlsym(xrenderLibHandle,
"XRenderFindVisualFormat");
}
@@ -454,8 +454,8 @@
graphicsConfigs [ind]->awt_depth = pVITrue [i].depth;
memcpy (&graphicsConfigs [ind]->awt_visInfo, &pVITrue [i],
sizeof (XVisualInfo));
- if (XRenderFindVisualFormat != NULL) {
- XRenderPictFormat *format = XRenderFindVisualFormat (awt_display,
+ if (xrenderFindVisualFormat != NULL) {
+ XRenderPictFormat *format = xrenderFindVisualFormat (awt_display,
pVITrue [i].visual);
if (format &&
format->type == PictTypeDirect &&