forked from enlightenment/enlightenment
Make sure we don't go below zero (for the case where _thaw gets called
an odd number of times). SVN revision: 49418
This commit is contained in:
parent
c7a8e2ecf3
commit
7ef8b28341
|
@ -150,6 +150,7 @@ EAPI void
|
|||
e_acpi_events_thaw(void)
|
||||
{
|
||||
_e_acpi_events_frozen--;
|
||||
if (_e_acpi_events_frozen < 0) _e_acpi_events_frozen = 0;
|
||||
}
|
||||
|
||||
/* local functions */
|
||||
|
|
Loading…
Reference in New Issue