Fix line-endings in libEGL.cpp
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1165 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/common/version.h b/src/common/version.h
index 83c1541..43f5d9a 100644
--- a/src/common/version.h
+++ b/src/common/version.h
@@ -1,7 +1,7 @@
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
-#define BUILD_REVISION 1164
+#define BUILD_REVISION 1165
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
diff --git a/src/libEGL/libEGL.cpp b/src/libEGL/libEGL.cpp
index 8d2787d..5089d2c 100644
--- a/src/libEGL/libEGL.cpp
+++ b/src/libEGL/libEGL.cpp
@@ -1108,11 +1108,11 @@
try
{
- if (x < 0 || y < 0 || width < 0 || height < 0)
- {
- return error(EGL_BAD_PARAMETER, EGL_FALSE);
- }
-
+ if (x < 0 || y < 0 || width < 0 || height < 0)
+ {
+ return error(EGL_BAD_PARAMETER, EGL_FALSE);
+ }
+
egl::Display *display = static_cast<egl::Display*>(dpy);
egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);