viking

webkit based web browser for Enlightenment
Log | Files | Refs | LICENSE

commit 4d12a33a3a3283980564d3c27dc53251b732a49b
parent 601e82d7b4c8e9af3107220a5173cc6dee2d30ec
Author: Kyle Milz <kmilz@ucalgary.ca>
Date:   Mon,  8 Oct 2012 00:20:24 -0600

reenable check to prevent segfault.

Diffstat:
Msrc/utilities.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/utilities.c b/src/utilities.c @@ -1237,8 +1237,8 @@ buffer_current_set(Buffer_Data *new_buf) Buffer_Data *old_buf = wd->cur_buf; App_Data *ad = wd->app; - // if (new_buf == old_buf || ad->exiting) - // return; + if (new_buf == old_buf || ad->exiting) + return; if (old_buf) { // ewk_view_visibility_state_set(old_buf->view, EWK_PAGE_VISIBILITY_STATE_HIDDEN, 0);