Andrew Talbot : winex11.drv: Indentation fix.
Alexandre Julliard
julliard at winehq.org
Mon Dec 24 14:02:57 CST 2012
Module: wine
Branch: master
Commit: 9acc966688aa1d9952dabf6f7a600b95e0d78420
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9acc966688aa1d9952dabf6f7a600b95e0d78420
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Fri Dec 21 19:18:58 2012 +0000
winex11.drv: Indentation fix.
---
dlls/winex11.drv/opengl.c | 6 +++---
dlls/winex11.drv/palette.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 8dc6281..3a6a2c7 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -682,7 +682,7 @@ static BOOL has_opengl(void)
* enable this function when the Xserver understand GLX 1.3 or newer
*/
pglXQueryDrawable = NULL;
- } else if(strcmp("ATI", WineGLInfo.glxClientVendor) == 0) {
+ } else if(strcmp("ATI", WineGLInfo.glxClientVendor) == 0) {
TRACE("Overriding ATI GLX capabilities!\n");
pglXChooseFBConfig = pglXGetProcAddressARB((const GLubyte *) "glXChooseFBConfig");
pglXGetFBConfigAttrib = pglXGetProcAddressARB((const GLubyte *) "glXGetFBConfigAttrib");
@@ -2570,9 +2570,9 @@ static BOOL X11DRV_wglGetPixelFormatAttribivARB( HDC hdc, int iPixelFormat, int
if (!fmt) goto pix_error;
hTest = pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, curGLXAttr, &tmp);
if (hTest) goto get_error;
- piValues[i] = GL_FALSE;
+ piValues[i] = GL_FALSE;
if (GLX_NONE != tmp) piValues[i] = GL_TRUE;
- continue;
+ continue;
case WGL_PIXEL_TYPE_ARB:
curGLXAttr = GLX_RENDER_TYPE;
diff --git a/dlls/winex11.drv/palette.c b/dlls/winex11.drv/palette.c
index bd687ca..d19d112 100644
--- a/dlls/winex11.drv/palette.c
+++ b/dlls/winex11.drv/palette.c
@@ -736,7 +736,7 @@ COLORREF X11DRV_PALETTE_ToLogical(X11DRV_PDEVICE *physDev, int pixel)
if (shifts->logicalBlue.scale<8)
color.blue= color.blue << (8-shifts->logicalBlue.scale) |
color.blue >> (2*shifts->logicalBlue.scale-8);
- return RGB(color.red,color.green,color.blue);
+ return RGB(color.red,color.green,color.blue);
}
/* check if we can bypass X */
More information about the wine-cvs
mailing list