Changeset: 5e9f3f3d77aa for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5e9f3f3d77aa
Modified Files:
        gdk/gdk_select.c
Branch: Oct2014
Log Message:

Fixing 2 small bugs that do a huge difference.


diffs (16 lines):

diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -355,10 +355,10 @@ do {                                                      
                                                                                
\
                }                                                               
                                                                \
        }                                                                       
                                                                \
        assert((imp_min != nil) && (imp_max != nil));                           
                \
-       if (!s && VIEWtparent(b)) { /* no candidate list and no views*/         
\
+       if (!s && !VIEWtparent(b)) { /* no candidate list and no views*/        
\
                if ((vl > imp_max || vh < imp_min) ||                           
                        \
                        (anti && (vl < imp_min && vh > imp_max))) {             
                        \
-               return BUN_NONE;                                                
                                                \
+               return 0;                                                       
                                                        \
                }                                                               
                                                                \
        }                                                                       
                                                                \
 } while (0)                                                                    
                                                        \
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to