]> git.eshelyaron.com Git - emacs.git/commitdiff
bugfix by Julian Scheid, fixes a case of bad initialization of views
authorJoakim Verona <joakim@verona.se>
Sun, 8 Jul 2012 16:40:03 +0000 (18:40 +0200)
committerJoakim Verona <joakim@verona.se>
Sun, 8 Jul 2012 16:40:03 +0000 (18:40 +0200)
src/xwidget.c

index 9a2c0d38a7ba91ecfb1bcede25cffde7ba3c8361..f59f2f32d1ec343ce5e3f43236e7f807bd68cde0 100644 (file)
@@ -1348,6 +1348,7 @@ xwidget_view_lookup (struct xwidget* xw, struct window *w)
     if (xv->initialized && (xv->model == xw) && (xv->w == w))
       return xv;
   }
+  return NULL; /* we didnt find a matching view */
 }
 
 struct xwidget*