[packages/ilixi] - more C++98 fixes
baggins
baggins at pld-linux.org
Sun Oct 12 13:07:22 CEST 2014
commit fe7a217fa594c8aa080473a9062d3b8794d9f8c1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Oct 12 13:07:11 2014 +0200
- more C++98 fixes
c++98.patch | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/c++98.patch b/c++98.patch
index 926654d..b2858d0 100644
--- a/c++98.patch
+++ b/c++98.patch
@@ -103,3 +103,20 @@ index 9aa5171..1de5b91 100644
return r;
}
+diff --git a/ilixi/ui/SurfaceView.cpp b/ilixi/ui/SurfaceView.cpp
+index 9127690..90b8d46 100644
+--- a/ilixi/ui/SurfaceView.cpp
++++ b/ilixi/ui/SurfaceView.cpp
+@@ -302,7 +302,11 @@ SurfaceView::renderSource(const PaintEvent& event)
+ dfbSurface->Blit(dfbSurface, _sourceSurface, NULL, 0, 0);
+ } else
+ {
+- DFBRectangle rect = { 0, 0, width(), height() };
++ DFBRectangle rect;
++ rect.x = 0;
++ rect.y = 0;
++ rect.w = width();
++ rect.h = height();
+ if (surface()->flags() & Surface::SharedSurface)
+ {
+ rect.x += absX();
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ilixi.git/commitdiff/fe7a217fa594c8aa080473a9062d3b8794d9f8c1
More information about the pld-cvs-commit
mailing list