From: Joakim Verona Date: Sun, 8 Jul 2012 16:40:03 +0000 (+0200) Subject: bugfix by Julian Scheid, fixes a case of bad initialization of views X-Git-Tag: emacs-25.0.90~3297 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f914423eafcd40a7c2f394949d7bb5eeb5cdfff;p=emacs.git bugfix by Julian Scheid, fixes a case of bad initialization of views --- diff --git a/src/xwidget.c b/src/xwidget.c index 9a2c0d38a7b..f59f2f32d1e 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -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*