[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
From: |
Udo Giacomozzi |
Subject: |
Re: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h |
Date: |
Tue, 17 Oct 2006 14:59:54 +0200 |
SS> + // TODO: the following condition seems bogus to me...
SS> + // what about always calling expand_to_rect
SS> + // and let rect class take care of any check ?
SS> + if (_last_invalidated_bounds.m_x_min <=
_last_invalidated_bounds.m_x_max)
SS> + {
SS> +
draw_bounds.expand_to_rect(_last_invalidated_bounds);
SS> + }
Because _last_invalidated_bounds starts with min>max which means it is
not used. This is not a error check, it's a check if
_last_invalidated_bounds should be used or not.
Udo