summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-09-30 07:24:46 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-09-30 07:24:46 +0000
commit586334710d39f761b3bef30b8e1f8d8832aa536f (patch)
tree12680212b78d5ce54f97c437f25db4f9256a3f08 /legacy/ecore/src/lib/ecore_fb/ecore_fb.c
parent16263f52cc03ca65151ad8804506415ae4381ccf (diff)
tab--
SVN revision: 52919
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
index ebc9631ea5..7725ca2c5d 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
@@ -90,16 +90,16 @@ _ecore_fb_size_get(int *w, int *h)
90 fb = open("/dev/fb0", O_RDWR); 90 fb = open("/dev/fb0", O_RDWR);
91 if (fb < 0) 91 if (fb < 0)
92 { 92 {
93 if (w) *w = 0; 93 if (w) *w = 0;
94 if (h) *h = 0; 94 if (h) *h = 0;
95 return; 95 return;
96 } 96 }
97 if (ioctl(fb, FBIOGET_VSCREENINFO, &fb_var) == -1) 97 if (ioctl(fb, FBIOGET_VSCREENINFO, &fb_var) == -1)
98 { 98 {
99 if (w) *w = 0; 99 if (w) *w = 0;
100 if (h) *h = 0; 100 if (h) *h = 0;
101 close(fb); 101 close(fb);
102 return; 102 return;
103 } 103 }
104 close(fb); 104 close(fb);
105 if (w) *w = fb_var.xres; 105 if (w) *w = fb_var.xres;