Thread (5 messages) flat view 5 messages, 4 authors, 2002-08-28

gen_set_var() fix?

From: Jani Monoses <hidden>
Date: 2002-08-28 06:58:10

James
Should't gen_set_var set the var in info here as well? (when no check_var present)
BTW is gen_set_var going to stay in the new API or go away ?
--- fbgen.c.orig       Wed Aug 28 09:49:45 2002
+++ fbgen.c     Wed Aug 28 09:57:32 2002
@@ -36,7 +36,7 @@

        if (con < 0 || (memcmp(&info->var, var, sizeof(struct fb_var_screeninfo)))) {
                if (!info->fbops->fb_check_var) {
-                       *var = info->var;
+                       info->var = *var;
                        return 0;
                }


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help